Skip to content

Commit

Permalink
fix: export runtime types directly from nitropack (#301)
Browse files Browse the repository at this point in the history
* fix: export runtime types directly from `nitropack`

* refactor: use `runtime/types`
  • Loading branch information
danielroe authored Jun 20, 2022
1 parent ef5e7f1 commit 34b8c4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runtime/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export type { NitroApp } from './app'
export type { CacheEntry, CacheOptions, ResponseCacheEntry } from './cache'
export type { NitroAppPlugin } from './plugin'
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './fetch'
export * from './nitro'
export * from './handler'
export * from '../runtime/types'

0 comments on commit 34b8c4d

Please sign in to comment.