Closed dsvgl closed 6 months ago
Inside nuxt.config.ts, when I start typing sv my IDE (VS Code) correctly suggest svgo?. But inside this config object I then get no intellisense.
nuxt.config.ts
sv
svgo?
Maybe it's because of the way you typed the nuxt module in https://github.com/cpsoinos/nuxt-svgo/blob/main/src/module.ts#L55 ?
const nuxtSvgo: NuxtModule<ModuleOptions> = defineNuxtModule({...});
I think it should rather be
export default defineNuxtModule<ModuleOptions>({...});
Should be fixed in v4.0.1
thx!
Inside
nuxt.config.ts
, when I start typingsv
my IDE (VS Code) correctly suggestsvgo?
. But inside this config object I then get no intellisense.Maybe it's because of the way you typed the nuxt module in https://github.com/cpsoinos/nuxt-svgo/blob/main/src/module.ts#L55 ?
I think it should rather be