Skip to content

TypeScript

This plugin is enabled if "typescript" is listed in "dependencies" or "devDependencies" in package.json.

If this plugin is enabled, the following configuration is added automatically:

{
"typescript": {
"config": [
"tsconfig.json"
]
}
}

Depending on local configuration, plugins may modify the defaults as shown.

Custom config or entry options override default values, they are not merged.

See Plugins for more details about plugins and their entry and config options.

What’s up with that configurable tsconfig.json location?

This plugin adds argument parsing for the tsc binary. Configuration:

string: ["project"]
alias: {"project": ["p"]}
config: [["project", (p) => p.endsWith(".json") ? p : join(p, "tsconfig.json")]]

The configuration was generated from source code. Also see Script Parser.

This page was generated from the typescript plugin source code.

ISC License © 2024 Lars Kappert