react-typescript

v3.0.6arrow_drop_down
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
20,420
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A month ago
subject
Bit react-typescript compiler. Compiles a React component for TypeScript.
3 contributors
Like
Use react-typescript in your project ?
Copied
npm i @bit/bit.envs.compilers.react-typescript
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
chevron_left
chevron_right

A Component compiler for React components using TypeScript.

Compiles a React component for TypeScript.

How to use?

Import the environment

bit import bit.envs/compilers/react-typescript -c

Then build using bit build.

bit build

What’s inside

  • Compiles ts and tsx files.
  • Emit d.ts files.
  • In order to see which typescript config are used, take a look at the tsconfig.json file.

Reconfiguring this environment

In case the configuration presets in the tsconfig file of this component are not well suited to your needs, follow these steps to modify it.

Got any issues or questions?

Collaboration on this Bit environment happens in this repository. Please open an issue or submit pull request there.