Open brokuka opened 3 months ago
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...'.
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...'.
Based on the documentation, it is not possible to use syntax as:
or
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...'.