Skip to content

badrap/libapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

61c5c48 · Aug 5, 2024
Aug 5, 2024
Nov 27, 2023
Apr 27, 2024
Sep 10, 2023
Aug 5, 2024
Jul 24, 2024
Jul 29, 2021
Jul 3, 2024
Aug 5, 2024
Dec 7, 2023
Apr 27, 2024
Jul 24, 2024
Aug 5, 2024
Jul 24, 2024

Repository files navigation

libapp tests

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].