@badrap/libapp
v0.7.4
Published
TypeScript helpers for creating Badrap apps
Downloads
265
Readme
libapp
TypeScript helpers for creating Badrap apps.
Installation
npm i @badrap/libapp
Enabling JSX/TSX support
To enable JSX/TSX support for your whole codebase, modify your tsconfig.json file by adding in the following lines:
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "@badrap/libapp"
}
}
To enable JSX/TSX support for just one specific file, add the following pragma comment to the beginning of that file:
/* @jsxImportSource @badrap/libapp */
License
This library is licensed under the MIT license. See [./LICENSE].