import { type CompilerOptions } from "https://deno.land/x/ts_transpiler@v0.0.2/mod.ts";
Copyright (c) 2018-2023 the Deno authors https://github.com/denoland/deno_emit/
Properties
What to do with import statements that only import types i.e. whether to
remove them (Remove
), keep them as side-effect imports (Preserve
)
or error (Error
). Defaults to Remove
.
When set, the original content of the .ts
file as an embedded string in
the source map (using the source map’s sourcesContent
property).
This is often useful in the same cases as inlineSourceMap
.
Controls how JSX constructs are emitted in JavaScript files. This only
affects output of JS files that started in .jsx
or .tsx
files.
Changes the function called in .js
files when compiling JSX Elements
using the classic JSX runtime. The most common change is to use "h"
or
"preact.h"
.