Skip to main content
Version: Next

PluginTransformParameters

PluginTransformParameters

The parameters for the transformation function of a compiler plugin.

Signature
interface PluginTransformParameters {
code: string;
id: string;
}

code

property
string

The code to be transformed.

id

property
string

The filename of the code being transformed.