UNPKG

utquidem

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

18 lines (11 loc) 422 B
/// <reference path="./dist/types/index.d.ts" /> declare module '@modern-js/runtime/server' { import { Context, Middleware } from 'koa'; type KoaOptions = { addMiddleware: (...input: Middleware[]) => void; }; type KoaAttacher = (options: KoaOptions) => void; export function useContext(): Context; export function hook(attacher: KoaAttacher): KoaAttacher; export * from '@modern-js/bff-runtime'; }