Skip to content

Commit 9f52c9c

Browse files
committed
feat: move to let declarations
1 parent 423ecc7 commit 9f52c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/createExports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const NOT_CAMELCASE_REGEXP = /[\-_]/;
88

99
const classNameToProperty = (className: string) => `'${className}': string;`;
1010
const classNameToNamedExport = (className: string) =>
11-
`export const ${className}: string;`;
11+
`export let ${className}: string;`;
1212

1313
const flattenClassNames = (
1414
previousValue: string[] = [],

0 commit comments

Comments
 (0)