@jpluimers@isotopp In the most common configuration, were TypeScript is transpiled and then executed as JS, type safety is only as good as the type definitions used. The typedefs of libraries can be lacking or outdated and you'll only find out when your application throws errors at runtime.
@jpluimers@isotopp This won't happen with libraries that are written natively in TS, so the prevalence of bad typedefs is declining afaik.
@jpluimers@isotopp That TS also supports dynamic types can be an advantage and a disadvantage, but in any case I'd discourage using it when not necessary.
@jpluimers@isotopp Overall, when the typedefs can be trusted, then TS is a great tool that keeps getting better and provides type safety and assistance while developing, and which underneath still harnesses the flexibility of JS.
• • •
Missing some Tweet in this thread? You can try to
force a refresh