Sha256: 6ddb0047af3eaa5e922fb62606ed4f93f9f90914c7d4693d2a3cc2d8af379a6c
Contents?: true
Size: 870 Bytes
Versions: 12
Compression:
Stored size: 870 Bytes
Contents
# typed: false # These are custom alias Sorbet types module T module Api Text = T.type_alias { T.any(String, Symbol) } Arguments = T.type_alias do T.any( Text, T::Array[Text], Integer, T::Hash[Text, Text], ) end MangaResponse = T.type_alias do T.any( Mangadex::Api::Response[Mangadex::Manga], Mangadex::Api::Response[T::Array[Mangadex::Manga]], ) end ChapterResponse = T.type_alias do T.any( Mangadex::Api::Response[Mangadex::Chapter], Mangadex::Api::Response[T::Array[Mangadex::Chapter]] ) end GenericResponse = T.type_alias do T.any( ::Hash, Mangadex::Api::Response, ) end ContentRating = T.type_alias do T.any( String, ::Mangadex::ContentRating, ) end end end
Version data entries
12 entries across 12 versions & 1 rubygems