(str: string)
| 1 | import type {Font} from './google-fonts'; |
| 2 | |
| 3 | export const unquote = (str: string) => |
| 4 | str.replace(/^['"]/g, '').replace(/['"]$/g, ''); |
| 5 | |
| 6 | // Firefox does not support numbers in fontFamily |
| 7 | export const replaceDigitsWithWords = (str: string): string => { |