Class ProjectTypescriptConfig

TypeScript configuration of the project.

Hierarchy (view full)

Constructors

Accessors

Methods

  • Replaces custom TypeScript compiler options with loaded ones.

    Clears custom options, and loads them from configuration file.

    Parameters

    • tsconfig: undefined | string

      Configuration file to load. tsconfig.json by default.

    • options: RawCompilerOptions

      TypeScript compiler options extending loaded ones.

    Returns this

    Updated instance.

  • Replaces custom TypeScript compiler options with the ones loaded from tsconfig.json file.

    Clears custom options, and loads them from configuration file.

    Parameters

    • Optionaloptions: RawCompilerOptions

      TypeScript compiler options extending loaded ones.

    Returns this

    Updated instance.