@appsemble/tsconfig
v0.36.4
Published
The recommended TypeScript configuration for building Appsemble blocks
Readme
Appsemble TypeScript presets
Reusable TypeScript presets recommended by Appsemble
Table of Contents
Installation
npm install @appsemble/tsconfigUsage
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"
}