example/example.rbi in strong_json-0.8.0 vs example/example.rbi in strong_json-0.9.0

- old
+ new

@@ -1,11 +1,11 @@ type address = { address: String, country: Symbol? } type email = { email: String } class AddressSchema < StrongJSON - def address: -> StrongJSON::_Schema<address> - def email: -> StrongJSON::_Schema<email> - def contact: -> StrongJSON::_Schema<email | address> - def person: -> StrongJSON::_Schema<{ name: String, contacts: Array<email | address> }> + def address: -> StrongJSON::Type::Object<address> + def email: -> StrongJSON::Type::Object<email> + def contact: -> StrongJSON::Type::Object<email | address> + def person: -> StrongJSON::Type::Object<{ name: String, contacts: Array<email | address> }> end Schema: AddressSchema