Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 498 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 498 Bytes

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