lib/dry/monads/sorbet.rb in dry-monads-sorbet-1.0.0 vs lib/dry/monads/sorbet.rb in dry-monads-sorbet-1.1.0.pre
- old
+ new
@@ -1,15 +1,19 @@
# typed: strict
# frozen_string_literal: true
+require 'sorbet-runtime'
+
class Dry::Monads::Result
extend T::Sig
extend T::Generic
+
FailureType = type_member
SuccessType = type_member
end
class Dry::Monads::Maybe
extend T::Sig
extend T::Generic
+
Elem = type_member
end