Skip to content

Commit 8f9d4e5

Browse files
Add TypeScript type declaration for SCSS module imports
Co-authored-by: rahul.chhabria <[email protected]>
1 parent bf9973d commit 8f9d4e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/@types/global-scss.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module '*.scss' {
2+
const content: Record<string, string> | string;
3+
export default content;
4+
}

0 commit comments

Comments
 (0)