diff --git a/src/runtime/types.ts b/src/runtime/types.ts new file mode 100644 index 0000000000..7d74f87535 --- /dev/null +++ b/src/runtime/types.ts @@ -0,0 +1,3 @@ +export type { NitroApp } from './app' +export type { CacheEntry, CacheOptions, ResponseCacheEntry } from './cache' +export type { NitroAppPlugin } from './plugin' diff --git a/src/types/index.ts b/src/types/index.ts index ba33724873..ea634bf6f9 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,3 +1,4 @@ export * from './fetch' export * from './nitro' export * from './handler' +export * from '../runtime/types'