Melt Studio's TSConfig's
npm install @meltstudio/tsconfigMelt Studio's TypeScript configurations.
_Important: This configurations require TypeScript 5 or higher, if you want
to use TypeScript 4 install version 1._
``bash`
yarn add --dev @meltstudio/tsconfig
This project exports multiple TSConfig's:
`json`
{
...
"extends": ["@meltstudio/tsconfig/next.json"],
...
}
_Note:_ Remember to include next-env.d.ts and .next/types/*/.ts in theincludes array of your TSConfig.
`json`
{
...
"extends": ["@meltstudio/tsconfig/node16.json"],
...
}
`json`
{
...
"extends": ["@meltstudio/tsconfig/node18.json"],
...
}
`json`
{
...
"extends": ["@meltstudio/tsconfig/react-native.json"],
...
}
`json``
{
...
"extends": ["@meltstudio/tsconfig/react.json"],
...
}