@appsemble/tsconfig
v0.30.11
Published
The recommended TypeScript configuration for building Appsemble blocks
Downloads
517
Readme
Appsemble TypeScript presets
Reusable TypeScript presets recommended by Appsemble
Table of Contents
Installation
npm install @appsemble/tsconfig
Usage
DOM
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"
}
Preact
The preact
preset configures TypeScript for usage with Preact.
To use it, add the following to your tsconfig.json
file.
{
"extends": "@appsemble/tsconfig/preact"
}
Mini JSX
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"
}