|
|
|
|
|
by hath995
2883 days ago
|
|
That's sort of tautological. "Any" and type assertions are designed as the escape hatch of the type system. If you're trying to develop type safe typescript you obviously won't use those. The followup question is for typed code (excluding usage of any or type assertions) does typescript have an unsound type system? Afaik the answer is no. |
|
This actually happens a lot with types from DefinitelyTyped that are not maintained by the original author of the library.