Sha256: e5fb4b4f3cdb99d872c61336d90007ea7353eb047c0fc4c06115b12fc4552ed6

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module StreamChat
  extend T::Sig
  T::Configuration.default_checked_level = :never
  # For now we disable runtime type checks.
  # We will enable it with a major bump in the future,
  # but for now, let's just run a static type check.

  StringKeyHash = T.type_alias { T::Hash[T.any(String, Symbol), T.untyped] }
  SortArray = T.type_alias { T::Array[{ field: String, direction: Integer }] }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stream-chat-ruby-2.22.1 lib/stream-chat/types.rb
stream-chat-ruby-2.22.0 lib/stream-chat/types.rb
stream-chat-ruby-2.21.0 lib/stream-chat/types.rb