Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/bundler/sorbet-0.5.11287
Browse files Browse the repository at this point in the history
  • Loading branch information
maxveldink authored Mar 11, 2024
2 parents 139e62b + 4326c00 commit dc7edae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sorbet-schema/struct_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def to_hash
Typed::HashSerializer.new(schema: self.class.create_schema).serialize(self)
end

sig { returns(String) }
def to_json
sig { params(_options: T::Hash[T.untyped, T.untyped]).returns(String) }
def to_json(_options = {})
Typed::JSONSerializer.new(schema: self.class.create_schema).serialize(self)
end
end
Expand Down

0 comments on commit dc7edae

Please sign in to comment.