chore: update map type

This commit is contained in:
Robin Kehl 2024-11-19 16:44:37 +01:00
parent 06add6e7fb
commit 38bfe2a6bc

View File

@ -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 ?? []