Re:Adopting Ruby 3 types with RBS
by shadowfacts on Saturday December 26, 2020 @12:24AM
(#25541613)
Not really, .ts files can have types in the source code. .d.ts lets you type external JS code which is useful for untyped dependencies, as is the case here, I imagine. But within your own project having types be part of the actual declarations is much better.
[ Parent
| on HN ]
There are no comments on this comment yet.