Bit: typescript compiler generates incomplete d.ts

Created on 24 Jul 2019  路  4Comments  路  Source: teambit/bit

Typescript compiler only generates d.ts to the _main file_ of the component.
Since I set index.ts as main file, the the d.ts is practically empty.

Screen Shot 2019-07-24 at 17 40 39

@qballer I know you have other tasks but this destroys the playground :( :( :(

Compiler:
bit.env/compilers/typescript @ 3.0.5
bit version: 14.2.1
yarn: 1.16.0
node: 12.1.0

areenvs typbug

Most helpful comment

issue is fixed in typescript 3.0.15

All 4 comments

Hi Uri, I'm aware of this issue, it stems from a community patch which was applied on typescript compiler. This is in my very short term task list and should be dealt with soon. I will keep this issue open and update on progress when things move along.

looking forward to the fix :)

@qballer Great:)
@KutnerUri It's better to open issues about envs in the dedicated bit-envs repo

issue is fixed in typescript 3.0.15

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amadeogallardo picture amadeogallardo  路  4Comments

hwclass picture hwclass  路  3Comments

lubomir-chatoryiskyi picture lubomir-chatoryiskyi  路  3Comments

KutnerBitsrc picture KutnerBitsrc  路  4Comments

JGJP picture JGJP  路  3Comments