typescript

v3.0.5arrow_drop_down
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
2,389
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A month ago
subject
Bit TypeScript compiler. Compiles a component for TypeScript.
3 contributors
Like
Use typescript in your project ?
Copied
npm i @bit/bit.envs.compilers.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
modifieddraft
bit import bit.envs/compilers/typescript -c
modifieddraft
chevron_left
chevron_right

A Component compiler for TypeScript components.

Compiles a component for TypeScript.

How to use?

Import the environment

 bit import bit.envs/compilers/typescript -c

Then build using bit build.

bit build

What’s inside

  • Compiles ts 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.