Open tlerbao opened 1 month ago
I have no problem here. Can you provide a minimal reproduction? Thanks.
Or maybe you can try iconsPlugin({collections: getIconCollections(['carbon', 'streamline'] as const)}),
? I'm not sure.
“as const” It seems to be a syntax error, I am using webstorm.
This is a typescript syntax, which does not apply to js files.
And I can't reproduce your error in js or ts file.