@zardoy/tsconfig
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

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:

{
    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: <Button<number> someProp={5} />

Package Sidebar

Install

npm i @zardoy/tsconfig

Weekly Downloads

36

Version

1.5.1

License

MIT

Unpacked Size

4.73 kB

Total Files

8

Last publish

Collaborators

  • zardoy