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

transform

Note: this interface currently does not do actual async work, only provides a corresponding async interfaces to the @swc/core's interface.

function transform(
code: string | Program,
options?: Options,
experimental_plugin_bytes_resolver?: any,
): Promise<Output>;
§
transform(code: string | Program, options?: Options, experimental_plugin_bytes_resolver?: any): Promise<Output>
[src]

§Parameters

§
code: string | Program
[src]
§
options?: Options optional
[src]
§
experimental_plugin_bytes_resolver?: any optional
[src]

§Return Type

§
Promise<Output>
[src]