TsConfigJson: {
    compileOnSave?: boolean;
    compilerOptions?: TsConfigJson.CompilerOptions;
    exclude?: string[];
    extends?: string | string[];
    files?: string[];
    include?: string[];
    references?: References[];
    typeAcquisition?: TypeAcquisition;
    watchOptions?: TsConfigJson.WatchOptions;
}

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

Type declaration

  • OptionalcompileOnSave?: boolean

    Enable Compile-on-Save for this project.

  • OptionalcompilerOptions?: TsConfigJson.CompilerOptions

    Instructs the TypeScript compiler how to compile .ts files.

  • Optionalexclude?: 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.

  • Optionalextends?: string | string[]

    Path to base configuration file to inherit from.

  • Optionalfiles?: 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.

  • Optionalinclude?: 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.

  • Optionalreferences?: References[]

    Referenced projects.

  • OptionaltypeAcquisition?: TypeAcquisition

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

  • OptionalwatchOptions?: TsConfigJson.WatchOptions

    Instructs the TypeScript compiler how to watch files.