rolldown
Version:
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
8 lines (7 loc) • 496 B
text/typescript
import { ParseResult, ParserOptions } from "./shared/binding-D6vpD1fz.mjs";
import { Program } from "@oxc-project/types";
//#region src/parse-ast-index.d.ts
declare function parseAst(sourceText: string, options?: ParserOptions | undefined | null, filename?: string): Program;
declare function parseAstAsync(sourceText: string, options?: ParserOptions | undefined | null, filename?: string): Promise<Program>;
//#endregion
export { type ParseResult, type ParserOptions, parseAst, parseAstAsync };