Skip to content

Commit 9a6b7ed

Browse files
authored
declare const instead of var
Closes #22
1 parent 4e5c6e1 commit 9a6b7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const LineDiff = require('line-diff');
66
const bannerMessage =
77
'// This file is automatically generated.\n// Please do not change this file!';
88

9-
const cssModuleExport = 'declare var cssExports: CssExports;\nexport = cssExports;\n';
9+
const cssModuleExport = 'declare const cssExports: CssExports;\nexport = cssExports;\n';
1010

1111
const getNoDeclarationFileError = ({ filename }) =>
1212
new Error(

0 commit comments

Comments
 (0)