UNPKG

fuse-box

Version:

Fuse-Box a bundler that does it right

9 lines (8 loc) 385 B
import { ASTNode } from './interfaces/AST'; export interface IParserOptions { jsx?: boolean; locations?: boolean; } export declare type ICodeParser = (code: string, props?: IParserOptions) => ASTNode; export declare function parseTypeScript(code: string, props?: IParserOptions): ASTNode; export declare function parseJavascript(code: string, props?: IParserOptions): ASTNode;