Skip to main content
Module

x/scaffold/src/deps/types.ts>TsConfigJson

scaffold your next project with style and 💗
Latest
interface TsConfigJson
import { type TsConfigJson } from "https://deno.land/x/scaffold@0.3.0/src/deps/types.ts";

Type for TypeScript's tsconfig.json file (TypeScript 3.7).

Properties

optional
compilerOptions: TsConfigJson.CompilerOptions

Instructs the TypeScript compiler how to compile .ts files.

optional
watchOptions: TsConfigJson.WatchOptions

Instructs the TypeScript compiler how to watch files.

optional
typeAcquisition: TsConfigJson.TypeAcquisition

Auto type (.d.ts) acquisition options for this project.

Requires TypeScript version 2.1 or later.
optional
compileOnSave: boolean

Enable Compile-on-Save for this project.

optional
extends: string

Path to base configuration file to inherit from.

Requires TypeScript version 2.1 or later.
optional
files: string[]

If no files or include property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by exclude. When a files property is specified, only those files and those specified by include are included.

optional
exclude: string[]

Specifies a list of files to be excluded from compilation. The exclude property only affects the files included via the include property and not the files property.

Glob patterns require TypeScript version 2.0 or later.
optional
include: string[]

Specifies a list of glob patterns that match files to be included in compilation.

If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`.

Requires TypeScript version 2.0 or later.
optional
references: TsConfigJson.References[]

Referenced projects.

Requires TypeScript version 3.0 or later.