DEV Community

Discussion on: The Trouble with TypeScript

Collapse
 
jwp profile image
John Peters

How is reusing types difficult?

Collapse
 
spyke profile image
Anton Alexandrenok

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

Thread Thread
 
jwp profile image
John Peters

How is this difficult?

export lastname:string = 'default value'

Thread Thread
 
spyke profile image
Anton Alexandrenok

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