UNPKG

@spec2ts/core

Version:

Core module for @spec2ts modules, includes codegen helpers and common parsing methods

10 lines (9 loc) 487 B
import { type GlobOptions } from "glob"; export declare function writeFile(path: string, content: string): Promise<void>; export declare function mkdirp(file: string): Promise<void>; export declare function getOutputPath(src: string, { output, ext }: { output?: string; ext?: string; }): string; export declare function getOutputFileName(src: string, ext?: string): string; export declare function findFiles(pattern: string | string[], options?: GlobOptions): Promise<string[]>;