Ruby Rogues
Sorbet with Ufuk Kayserilioglu - RUBY 664
Ufuk Kayserilioglu
Sorbet's best guess is it could return anything. that's represented as a T untyped in Sorbet. That's the equivalent of any in TypeScript if you've worked with TypeScript before. So it's a type that can be anything. So you can call any methods on it with any parameters. So basically Sorbet stops doing type checking past that point.
0
💬
0
Comments
Log in to comment.
There are no comments yet.