I likely am missing some context, but the comparison to TypeScript's ".d.ts" files seems misplaced. This is a type signature language, but it does not seem to be a type checker. The comparison to .d.ts files then seems bizarre because that is helpful for language servers¹ to consume types, but there's no proof that say, the implementation matches the type specification. TypeScript declaration files declare what the t…
Steep: https://github.com/soutaro/steep
Sorbet: https://sorbet.org