✨ ➕ stringWidth.ts
This commit is contained in:
@@ -220,3 +220,4 @@ const BUN_STRING_WIDTH_OPTS = { ambiguousIsNarrow: true } as const
|
||||
export const stringWidth: (str: string) => number = bunStringWidth
|
||||
? str => bunStringWidth(str, BUN_STRING_WIDTH_OPTS)
|
||||
: stringWidthJavaScript
|
||||
|
||||
|
||||
Reference in New Issue
Block a user