Sha256: 15ed2706de81308ff8ee0eca0ba9e05685afdd55734edbdd28a1ed576eedf814

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module StreamChat
  extend T::Sig
  # 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

2 entries across 2 versions & 1 rubygems

Version Path
stream-chat-ruby-2.23.0 lib/stream-chat/types.rb
stream-chat-ruby-2.22.2 lib/stream-chat/types.rb