mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
chore: add internal types for nitro/app (#19745)
This commit is contained in:
parent
7103670acc
commit
3e58f90914
@ -7,10 +7,11 @@ import devalue from '@nuxt/devalue'
|
||||
import destr from 'destr'
|
||||
import { joinURL } from 'ufo'
|
||||
import { renderToString as _renderToString } from 'vue/server-renderer'
|
||||
import { useRuntimeConfig, defineRenderHandler, getRouteRules } from '#internal/nitro'
|
||||
import { hash } from 'ohash'
|
||||
// @ts-ignore
|
||||
|
||||
import { useRuntimeConfig, defineRenderHandler, getRouteRules } from '#internal/nitro'
|
||||
import { useNitroApp } from '#internal/nitro/app'
|
||||
|
||||
// eslint-disable-next-line import/no-restricted-paths
|
||||
import type { NuxtApp, NuxtSSRContext } from '#app/nuxt'
|
||||
// @ts-ignore
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"esModuleInterop": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"skipLibCheck": true,
|
||||
@ -25,6 +26,9 @@
|
||||
"#internal/nitro": [
|
||||
"./node_modules/nitropack/dist/runtime"
|
||||
],
|
||||
"#internal/nitro/app": [
|
||||
"./node_modules/nitropack/dist/runtime/app"
|
||||
],
|
||||
"#internal/nitro/utils": [
|
||||
"./node_modules/nitropack/dist/runtime/utils"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user