derw
Version:
An Elm-inspired language that transpiles to TypeScript
10 lines (9 loc) • 437 B
TypeScript
import { ListDestructure } from "../types";
export { prefixLines };
export { destructureLength };
export { patternGapPositions };
export { patternHasGaps };
declare function prefixLines(body: string, indent: number): string;
declare function destructureLength(pattern: ListDestructure): number;
declare function patternGapPositions(pattern: ListDestructure): number[];
declare function patternHasGaps(pattern: ListDestructure): boolean;