We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
async
1 parent 757d2fb commit fd312afCopy full SHA for fd312af
packages/nuxt/src/core/nuxt.ts
@@ -226,7 +226,7 @@ async function initNuxt (nuxt: Nuxt) {
226
})
227
228
// Add nuxt types
229
- nuxt.hook('prepare:types', (opts) => {
+ nuxt.hook('prepare:types', async (opts) => {
230
opts.references.push({ types: 'nuxt' })
231
opts.references.push({ path: resolve(nuxt.options.buildDir, 'types/app-defaults.d.ts') })
232
opts.references.push({ path: resolve(nuxt.options.buildDir, 'types/plugins.d.ts') })
0 commit comments