Reusable TypeScript presets recommended by Appsemble
npm install @appsemble/tsconfig
The dom
preset configures TypeScript for usage in the browser. This is the main export from this
package.
To use it, add the following to your tsconfig.json
file.
{
"extends": "@appsemble/tsconfig"
}
The preact
preset configures TypeScript for usage with Preact.
To use it, add the following to your tsconfig.json
file.
{
"extends": "@appsemble/tsconfig/preact"
}
The mini-jsx
preset configures TypeScript for usage with
mini-jsx
.
To use it, add the following to your tsconfig.json
file.
{
"extends": "@appsemble/tsconfig/mini-jsx"
}