3 ms·
Typescript’s versions are just weird. I still don’t get why they don’t always increase major versions if it’s a breaking change. Who cares if it’s typescript 40
by nojvek 6y ago
Typescript’s versions are just weird. I still don’t get why they don’t always increase major versions if it’s a breaking change. Who cares if it’s typescript 40 or typescript 4.0. You don’t need to be a special flake. It’s an interface that lets you know when TS upgrades are safe and when they’ll break your code. Sure most TS versions tighten the type system but there’s no harm in having version 9000.
In the world of rust, cargo does a smart thing unlike npm I.e “Avoiding Combinatorial explosion of dependencies. Cargo pulls back on npm’s model a bit: it will unify dependencies up to semver compatibility”
If typescript were a rust package, it would break that assumption really bad.
Please follow semver like the rest of the npm ecosystem.