336 337 338 339 340 341 342
# File 'lib/types/_types.rb', line 336 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedSet::Untyped.new else T::Types::TypedSet.new(type) end end