nitropack
Version:
Build and Deploy Universal JavaScript Servers
13 lines (12 loc) • 550 B
TypeScript
export type { NitroApp } from "./app";
export type { CacheEntry, CacheOptions, ResponseCacheEntry, CachedEventHandlerOptions, } from "./cache";
export type { NitroAppPlugin } from "./plugin";
export type { RenderResponse, RenderHandler } from "./renderer";
declare module "h3" {
interface H3Event {
/** @experimental Calls fetch with same context and request headers */
fetch: typeof globalThis.fetch;
/** @experimental Calls fetch with same context and request headers */
$fetch: typeof globalThis.fetch;
}
}