Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shian15810/typesafeconfig
TypeScript base configuration (tsconfig) to extend from with emphasis on type safety.
https://github.com/shian15810/typesafeconfig
base config configuration extends safe tsconfig type typescript
Last synced: 18 days ago
JSON representation
TypeScript base configuration (tsconfig) to extend from with emphasis on type safety.
- Host: GitHub
- URL: https://github.com/shian15810/typesafeconfig
- Owner: shian15810
- License: mit
- Created: 2020-11-17T23:16:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-29T18:37:39.000Z (over 3 years ago)
- Last Synced: 2024-11-09T18:47:44.596Z (about 1 month ago)
- Topics: base, config, configuration, extends, safe, tsconfig, type, typescript
- Homepage: https://www.npmjs.com/package/typesafeconfig
- Size: 20.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typesafeconfig
TypeScript base configuration (tsconfig) to extend from with emphasis on type safety.
## Installation
```shell
npm install --save-dev typesafeconfig
```## Usage
In your `tsconfig.json`:
```jsonc
{
"extends": "typesafeconfig/tsconfig.json",
"compilerOptions": {
// ...
}
}
```Or:
```jsonc
{
"extends": "typesafeconfig/tsconfig.strict.json",
"compilerOptions": {
// ...
}
}
```## See Also
- [`type-expand`](https://github.com/shian15810/type-expand)