Changing TypeScript library functions while keeping backwards compatibility

from blog Blog posts on .NET Software Development, C#, and Debugging on Michael's Coding Spot, | ↗ original
Changing APIs is a common problem for library authors. There’s some class or function that you need to change, but you don’t want to break your library’s client code when they upgrade the library. In other words, the change needs to be backward compatible. Sure, there are cases when you’ll have to make breaking changes, but it’s usually better to...