File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export async function _generateTypes (nuxt: Nuxt) {
120120 const modulePaths = await resolveNuxtModule ( rootDirWithSlash ,
121121 nuxt . options . _installedModules
122122 . filter ( m => m . entryPath )
123- . map ( m => getDirectory ( m . entryPath ) ) ,
123+ . map ( m => getDirectory ( m . entryPath ! ) ) ,
124124 )
125125
126126 const isV4 = nuxt . options . future ?. compatibilityVersion === 4
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
4343 const modules = await resolveNuxtModule ( rootDirWithSlash ,
4444 nuxt . options . _installedModules
4545 . filter ( m => m . entryPath )
46- . map ( m => m . entryPath ) ,
46+ . map ( m => m . entryPath ! ) ,
4747 )
4848
4949 const nitroConfig : NitroConfig = defu ( nuxt . options . nitro , {
Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ export default defineUntypedSchema({
2323 _nuxtConfigFiles : [ ] ,
2424 /** @private */
2525 appDir : '' ,
26- /** @private */
26+ /**
27+ * @private
28+ * @type {Array<{ meta: ModuleMeta; timings?: Record<string, number | undefined>; entryPath?: string }> }
29+ */
2730 _installedModules : [ ] ,
2831 /** @private */
2932 _modules : [ ] ,
You can’t perform that action at this time.
0 commit comments