Skip to content

Commit f29b612

Browse files
committed
fix: typing
1 parent 99d1ed6 commit f29b612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default defineNuxtModule<ModuleOptions>({
4848
output: {
4949
path: path.join(nuxt.options.buildDir, 'client'),
5050
},
51-
plugins: options.config.plugins.some((plugin: any) => {
51+
plugins: (options.config.plugins || []).some((plugin: any) => {
5252
const pluginName = typeof plugin === 'string' ? plugin : plugin.name;
5353
return pluginName === '@hey-api/plugin-nuxt';
5454
})

0 commit comments

Comments
 (0)