Open patricknelson opened 1 year ago
Yes, there is a type mistake, the parameter is still not optional
Instead of
cssModules(options: Partial<PluginOptions>): PreprocessorGroup
it should be
cssModules(options: Partial<PluginOptions> = {}): PreprocessorGroup
for the time being, you can pass an empty object cssModules({})
Fairly minor, but it appears TypeScript is flagging
cssModules()
arguments as being required when in fact they're actually optional: