Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Upgrading the TypeScript version of a package which is depended on many packages is painful #343

Open
kimamula opened this issue May 8, 2017 · 0 comments

Comments

@kimamula
Copy link

kimamula commented May 8, 2017

There is a same issue submitted in DefinitelyTyped.

I found that if I want to introduce TypeScript >= 2.1 syntax into node/index.d.ts (I actually want to), I have to add // TypeScript Version: 2.x comment to more than 700 packages, which is too painful.

As proposed in the issue in DefinitelyTyped, this can be solved by applying the maximum typescript version from dependencies during the build.

Automating the addition of the version comment based on the maximum typescript version from dependencies would be another possible solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant