diff --git a/sig/schemable/configuration.rbs b/sig/schemable/configuration.rbs index af84948..74a47ec 100644 --- a/sig/schemable/configuration.rbs +++ b/sig/schemable/configuration.rbs @@ -1,17 +1,16 @@ module Schemable class Configuration - attr_accessor disable_factory_bot: untyped attr_accessor orm: Symbol attr_accessor timestamps: bool attr_accessor float_as_string: bool attr_accessor decimal_as_string: bool attr_accessor disable_factory_bot: bool - attr_accessor custom_type_mappers: Hash[Symbol, Symbol | Object] + attr_accessor custom_type_mappers: Hash[Symbol, any] def initialize: -> void - def add_custom_type_mapper: (Symbol, Hash[Symbol, Symbol | Object]) -> void + def add_custom_type_mapper: (Symbol, Hash[Symbol, any]) -> void - def type_mapper: (Symbol) -> Hash[Symbol, Symbol | Object] + def type_mapper: (Symbol) -> Hash[Symbol, any] end end diff --git a/sig/schemable/constants.rbs b/sig/schemable/constants.rbs index cf93edf..aab1390 100644 --- a/sig/schemable/constants.rbs +++ b/sig/schemable/constants.rbs @@ -1,5 +1,5 @@ module Schemable module Constants - TYPES_MAP: Hash[Symbol, Symbol | Object] + TYPES_MAP: Hash[Symbol, any] end end