Detalhes do pacote

typesafeconfig

shian15810994MIT4.3.0

TypeScript base configuration (tsconfig) to extend from with emphasis on type safety.

type, safe, config, typescript

readme (leia-me)

typesafeconfig

TypeScript base configuration (tsconfig) to extend from with emphasis on type safety.

Installation

npm install --save-dev typesafeconfig

Usage

In your tsconfig.json:

{
  "extends": "typesafeconfig/tsconfig.json",
  "compilerOptions": {
    // ...
  }
}

Or:

{
  "extends": "typesafeconfig/tsconfig.strict.json",
  "compilerOptions": {
    // ...
  }
}

See Also