typesafeconfig

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

Usage no npm install needed!

<script type="module">
  import typesafeconfig from 'https://cdn.skypack.dev/typesafeconfig';
</script>

README

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