Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

parse

function parse(src: string, options: ParseOptions & {
isModule: false;
}
): Promise<Script>;
function parse(src: string, options?: ParseOptions): Promise<Module>;
§
parse(src: string, options: ParseOptions & {
isModule: false;
}
): Promise<Script>
[src]

§Parameters

§
src: string
[src]
§
options: ParseOptions & {
isModule: false;
}
[src]

§Return Type

§
Promise<Script>
[src]
§
parse(src: string, options?: ParseOptions): Promise<Module>
[src]

§Parameters

§
src: string
[src]
§
options?: ParseOptions optional
[src]

§Return Type

§
Promise<Module>
[src]