Examples ☰
Basic sig
Standard library
String + Symbol
Nilable array access
Reveal Type
Dead code
Method signature
Local inference
Pinning
Interface
Union
Intersection
Noreturn
Singleton class
Generic class
Generic method
Escape hatch
Proc
Void
Tuple and Shape
Custom command line args
(Toggle Vim keybindings)
# typed: true class Module; include T::Sig; end extend T::Sig sig {params(x: Integer).void} def foo(x) puts(x + 1) end ffoo(0) foo("not an int")
Loading...
sorbet@stripe.com