Skip to content

Commit 09af9b7

Browse files
authored
Merge pull request #1 from lamo2k123/patch-1
Fixed locals type
2 parents 3c050de + 7331c84 commit 09af9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const generateGenericExportInterface = (
6161
? ``
6262
: ` & {
6363
/** WARNING: Only available when \`css-loader\` is used without \`style-loader\` or \`mini-css-extract-plugin\` */
64-
locals: ${namespaceName}.${interfaceName};
64+
locals: Omit<${namespaceName}.${interfaceName}, 'use' | 'unuse'>;
6565
}`
6666

6767
const interfaceProperties = cssModuleToTypescriptInterfaceProperties(

0 commit comments

Comments
 (0)