Skip to content

Commit fcba279

Browse files
committed
fix: ts does not know css class name error
1 parent 0915b1d commit fcba279

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

@types/assets.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ declare module '*.otf';
1313
declare module '*.eot';
1414

1515
declare module '*.scss' {
16-
const content: { [className: string]: string };
17-
export default content;
16+
export = Record<string, string>;
1817
}
1918

2019
//TODO: Add more declarations for other asset types as needed

0 commit comments

Comments
 (0)