Shared TypeScript config for my projects
npm install @zardoy/tsconfig> 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:
``ts`
{
extends: "@zardoy/tsconfig/react"
}
Available presets: react, node, node-lib.
This project includes index.d.ts files, which globally improves typings for entries and fromEntries.
You can use generics in JSX Components: