https://github.com/zardoy/tsconfig
My tsconfig.json presets that I use in my repos
https://github.com/zardoy/tsconfig
Last synced: 10 months ago
JSON representation
My tsconfig.json presets that I use in my repos
- Host: GitHub
- URL: https://github.com/zardoy/tsconfig
- Owner: zardoy
- License: mit
- Created: 2021-05-26T21:31:27.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T08:47:46.000Z (over 2 years ago)
- Last Synced: 2025-08-23T05:05:42.870Z (10 months ago)
- Language: JavaScript
- Homepage: https://npmjs.com/@zardoy/tsconfig
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# My TSConfig presets
> Doesn't follow semver!
Default and `react` preset have `noEmit: true`, so `tsc` is only for type-checking. Use Vite or esbuild for the actual compiling, it would save you a lot of time.
## Usage
Usage:
```ts
{
extends: "@zardoy/tsconfig/react"
}
```
Available presets: `react`, `node`, `node-lib`.
## Heads up
This project includes `index.d.ts` files, which **globally** improves typings for `entries` and `fromEntries`.
## Interesting facts
You can use generics in JSX Components: ` someProp={5} /> `