We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 423ecc7 + 022adcc commit aeb685bCopy full SHA for aeb685b
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "typescript-plugin-css-modules",
3
- "version": "2.5.0",
+ "version": "2.7.0",
4
"main": "lib/index.js",
5
"author": "Brody McKee <[email protected]>",
6
"license": "MIT",
src/helpers/createExports.ts
@@ -8,7 +8,7 @@ const NOT_CAMELCASE_REGEXP = /[\-_]/;
8
9
const classNameToProperty = (className: string) => `'${className}': string;`;
10
const classNameToNamedExport = (className: string) =>
11
- `export const ${className}: string;`;
+ `export let ${className}: string;`;
12
13
const flattenClassNames = (
14
previousValue: string[] = [],
0 commit comments