Skip to content

Commit 0f53de2

Browse files
committed
chore: add missing type ignores
1 parent 9cfef55 commit 0f53de2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/plugin.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ class WindiCSSWebpackPlugin {
5252
[join(this.options.virtualModulePath, MODULE_ID)]: resolve(compiler.context, MODULE_ID_VIRTUAL_MODULES[0]),
5353
// add virtual:windi-$layer aliases
5454
...MODULE_ID_VIRTUAL_MODULES.reduce((map, key) => {
55+
// @ts-expect-error untyped
5556
map[join(this.options.virtualModulePath, key)] = resolve(compiler.context, key)
5657
return map
5758
}, {}),
5859
// add `windi-$layer` aliases
5960
...MODULE_ID_VIRTUAL_MODULES.reduce((map, key) => {
61+
// @ts-expect-error untyped
6062
map[join(this.options.virtualModulePath, key.replace('virtual:', ''))] = resolve(compiler.context, key)
6163
return map
6264
}, {}),
@@ -172,6 +174,7 @@ class WindiCSSWebpackPlugin {
172174

173175
const virtualModules = new VirtualModulesPlugin(
174176
MODULE_ID_VIRTUAL_MODULES.reduce((map, key) => {
177+
// @ts-expect-error untyped
175178
map[join(this.options.virtualModulePath, key)] = `/* ${key}(boot) */`
176179
return map
177180
}, {}),

0 commit comments

Comments
 (0)