Is Sorbet not what you’re describing?
And RBS is officially part of Ruby…
And RBS is officially part of Ruby…
Type annotations in the language as syntax. Static type checker with an emphasis on inference. Compiles into Ruby so that it integrates with the entire existing Ruby ecosystem, so unlike Crystal as well.
Those are the general features you need/want and why TS caught on and none of the existing solutions hit the mark.
Sorbet is a bit different from TypeScript because it has runtime type checking, not just static.