UNPKG

minitel.ts

Version:

A port to typescript and extension of https://github.com/cquest/pynitel

9 lines (8 loc) 281 B
import type { MinitelTSRoute } from './types.d.ts'; export default class MinitelTSRouter { routes: MinitelTSRoute[]; current: MinitelTSRoute | null; constructor(); loadRoutes(routeDir: string, initialRoute?: string): Promise<void>; goto(route: string): void; }