Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid typo for font families #191

Open
brokuka opened this issue Apr 9, 2024 · 0 comments
Open

Invalid typo for font families #191

brokuka opened this issue Apr 9, 2024 · 0 comments

Comments

@brokuka
Copy link

brokuka commented Apr 9, 2024

Based on the documentation, it is not possible to use syntax as:

Inter: [400, 700]

or

Inter: '200..700'

Error message:
Type 'number[]' | 'string' is not assignable to type 'true | 400 | { display?: GoogleFontsDisplay | undefined; subsets?: "cyrillic" | "cyrillic-ext" | "greek" | "latin" | "latin-ext" | "vietnamese" | ("cyrillic" | ... 4 more ... | "vietnamese")[] | undefined; wght?: true | ... 1 more ... | undefined; normal?: true | ... 1 more ... | undefined; regular?: true | ... 1 mo...'.

@brokuka brokuka changed the title Invalid typo for fonts Invalid typo for font families Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant