UNPKG

minitel.ts

Version:

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

26 lines (22 loc) 461 B
import MinitelTSState from "./state.js"; export type MinitelTSRoute = { path: string; name: string; loop: Function; state: MinitelTSStateType; }; export type MinitelTSColor = { noir: number; rouge: number; vert: number; jaune: number; bleu: number; magenta: number; cyan: number; blanc: number; }; export type MinitelTSStateType = ReturnType<typeof MinitelTSState>; export type MinitelTSChoice = { value: string; label: string; }