Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class TypescriptPlugin
import { TypescriptPlugin } from "https://deno.land/x/bundler@0.9.0/plugins/typescript/typescript_plugin.ts";

Constructors

new
TypescriptPlugin(compilerOptions?: ts.CompilerOptions)

Methods

createAsset(
input: string,
bundler: Bundler,
unnamed 3?: CreateAssetOptions,
)
createBundle(
chunk: Chunk,
ast: Source,
bundler: Bundler,
unnamed 3?: CreateBundleOptions,
)
createChunk(
asset: Asset,
chunkAssets: Set<Asset>,
_bundler?: Bundler,
unnamed 3?: CreateChunkOptions,
): Promise<Chunk>
createSource(
input: string,
bundler?: Bundler,
unnamed 2?: CreateAssetOptions,
)
getDependencies(
input: string,
source: Source,
)
readSource(
input: string,
bundler?: Bundler,
unnamed 2?: { importMap?: ImportMap; reload?: boolean; },
)
splitDependencies(
asset: Asset,
_bundler: Bundler,
)
test(
input: string,
)