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 destr from 'destr'
|
||||||
import { joinURL } from 'ufo'
|
import { joinURL } from 'ufo'
|
||||||
import { renderToString as _renderToString } from 'vue/server-renderer'
|
import { renderToString as _renderToString } from 'vue/server-renderer'
|
||||||
import { useRuntimeConfig, defineRenderHandler, getRouteRules } from '#internal/nitro'
|
|
||||||
import { hash } from 'ohash'
|
import { hash } from 'ohash'
|
||||||
// @ts-ignore
|
|
||||||
|
import { useRuntimeConfig, defineRenderHandler, getRouteRules } from '#internal/nitro'
|
||||||
import { useNitroApp } from '#internal/nitro/app'
|
import { useNitroApp } from '#internal/nitro/app'
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-restricted-paths
|
// eslint-disable-next-line import/no-restricted-paths
|
||||||
import type { NuxtApp, NuxtSSRContext } from '#app/nuxt'
|
import type { NuxtApp, NuxtSSRContext } from '#app/nuxt'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
"esModuleInterop": false,
|
"esModuleInterop": false,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
@ -25,6 +26,9 @@
|
|||||||
"#internal/nitro": [
|
"#internal/nitro": [
|
||||||
"./node_modules/nitropack/dist/runtime"
|
"./node_modules/nitropack/dist/runtime"
|
||||||
],
|
],
|
||||||
|
"#internal/nitro/app": [
|
||||||
|
"./node_modules/nitropack/dist/runtime/app"
|
||||||
|
],
|
||||||
"#internal/nitro/utils": [
|
"#internal/nitro/utils": [
|
||||||
"./node_modules/nitropack/dist/runtime/utils"
|
"./node_modules/nitropack/dist/runtime/utils"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user