samuelgiles / rspec-sorbet

A small gem consisting of helpers for using Sorbet & RSpec together.
MIT License
39 stars 9 forks source link

Add basic Sorbet signatures #25

Closed samuelgiles closed 1 year ago

samuelgiles commented 1 year ago

This PR moves RSpec::Sorbet::Doubles to typed: strict from false and brings in some basic signatures.

Unfortunately signature cannot be typed as T::Private::Methods::Signature as it's rewritten as Sorbet::Private::Static::StubModule.