UNPKG

functionalscript

Version:

FunctionalScript is a purely functional subset of JavaScript

13 lines (12 loc) 492 B
import type { Io } from '../io/module.f.ts'; export declare const todo: () => never; export type Module = { readonly default?: unknown; }; export type ModuleMap = { readonly [k in string]: Module; }; export declare const env: (io: Io) => (v: string) => string | undefined; export declare const allFiles: (io: Io) => (s: string) => Promise<readonly string[]>; export declare const loadModuleMap: (io: Io) => Promise<ModuleMap>; export declare const index: (io: Io) => Promise<number>;