An open API service indexing awesome lists of open source software.

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

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} /> `