DEV Community

Discussion on: The Trouble with TypeScript

Collapse
 
spyke profile image
spyke • Edited

TypeScript isn't a super set for sure. Private fields are still in beta, etc.

I'd like to see something different and designed around JS/Babel instead of C#. Flow feels abandoned and reusing types is difficult.

Collapse
 
jwp profile image
JWP

How is reusing types difficult?

Collapse
 
spyke profile image
spyke

Because of how types are stored in a single git repo.

Thread Thread
 
jwp profile image
JWP

How is this difficult?

export lastname:string = 'default value'

Thread Thread
 
spyke profile image
spyke

My comment was about how typings ecosystem works. A git repository in Flow vs. npm packages in TS.