@nodescript/stdlib
Version:
Standard Node Definitions
15 lines (14 loc) • 373 B
TypeScript
import { ModuleCompute, ModuleDefinition } from '@nodescript/core/types';
type P = {
id?: string;
optional?: boolean;
nullable?: boolean;
default?: string;
enum: string[];
regex?: string;
regexFlags?: string;
};
type R = unknown;
export declare const module: ModuleDefinition<P, R>;
export declare const compute: ModuleCompute<P, R>;
export {};