mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: update map type
This commit is contained in:
parent
06add6e7fb
commit
38bfe2a6bc
@ -118,7 +118,7 @@ export default defineNuxtModule<Partial<ImportsOptions>>({
|
|||||||
fileFilter: file => !isIgnored(file),
|
fileFilter: file => !isIgnored(file),
|
||||||
})
|
})
|
||||||
|
|
||||||
const presetMap = new Map<string, typeof presets[]>()
|
const presetMap = new Map<string, string>()
|
||||||
|
|
||||||
for (const preset of presets) {
|
for (const preset of presets) {
|
||||||
preset.imports = preset.imports ?? []
|
preset.imports = preset.imports ?? []
|
||||||
|
Loading…
Reference in New Issue
Block a user