TypeScript helpers for creating Badrap apps.
npm i @badrap/libapp
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 */
This library is licensed under the MIT license. See [./LICENSE].