buntis
Version:
A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree
9 lines • 655 B
TypeScript
import * as ESTree from './estree';
import { Options, ErrorCallback } from './common';
export declare function parseScript(source: string, options?: Options, onError?: ErrorCallback): ESTree.Program;
export declare function parseModule(source: string, options?: Options, onError?: ErrorCallback): ESTree.Program;
export declare function parseTSModule(source: string, options?: Options, onError?: ErrorCallback): ESTree.Program;
export declare function parseTSScript(source: string, options?: Options, onError?: ErrorCallback): ESTree.Program;
export { Options, ESTree };
export declare const version = "0.2.0";
//# sourceMappingURL=buntis.d.ts.map