Sha256: 41ada8adfad8ae44c52f587dee64ea3daad41f40716320fa49e13216b1c30b30
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 Bytes
Contents
# typed: strict class T::Struct class << self sig { overridable.returns(Typed::Schema) } def schema end sig { params(type: Symbol, options: T::Hash[Symbol, T.untyped]).returns(Typed::Serializer[T.untyped, T.untyped]) } def serializer(type, options: {}) end sig { params(serializer_type: Symbol, source: T.untyped, options: T::Hash[Symbol, T.untyped]).returns(Typed::Result[T.attached_class, Typed::DeserializeError]) } def deserialize_from(serializer_type, source, options: {}) end end sig { params(serializer_type: Symbol, options: T::Hash[Symbol, T.untyped]).returns(Typed::Result[T.untyped, Typed::SerializeError]) } def serialize_to(serializer_type, options: {}) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sorbet-schema-0.9.2 | rbi/sorbet-schema.rbi |
sorbet-schema-0.9.1 | rbi/sorbet-schema.rbi |