@meltstudio/tsconfig
v2.0.1
Published
Melt Studio's TSConfig's
Downloads
929
Readme
@meltstudio/tsconfig
Melt Studio's TypeScript configurations.
Important: This configurations require TypeScript 5 or higher, if you want to use TypeScript 4 install version 1.
Installation
yarn add --dev @meltstudio/tsconfig
Usage
This project exports multiple TSConfig's:
nextjs.json
{
...
"extends": ["@meltstudio/tsconfig/next.json"],
...
}
Note: Remember to include next-env.d.ts
and .next/types/**/*.ts
in the
includes
array of your TSConfig.
node16.json
{
...
"extends": ["@meltstudio/tsconfig/node16.json"],
...
}
node18.json
{
...
"extends": ["@meltstudio/tsconfig/node18.json"],
...
}
react-native.json
{
...
"extends": ["@meltstudio/tsconfig/react-native.json"],
...
}
react.json
{
...
"extends": ["@meltstudio/tsconfig/react.json"],
...
}