UNPKG

winterspec

Version:

Write Winter-CG compatible routes with filesystem routing and tons of features

7 lines (6 loc) 303 B
import { WinterSpecRouteBundle } from "./types/index.js"; /** * Loads a file created by `winterspec bundle` and returns the default export. * This is a very thin wrapper over `import()` that adds some types. */ export declare const loadBundle: (bundlePath: string) => Promise<WinterSpecRouteBundle>;