Closed Sanshain closed 1 month ago
Typescript swears on existing file on css modules using
Create global.d.ts with content as next:
global.d.ts
// declaration.d.ts declare module '*.css' { const content: Record<string, string>; export default content; }
Trouble:
Typescript swears on existing file on css modules using
Resolve:
Create
global.d.ts
with content as next: