Skip to content

Commit

Permalink
fix: additional properties of the objects should have any type (#190)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: the objects with additional properties now have a different file
  • Loading branch information
HosseinAgha committed Aug 2, 2021
1 parent 4b2cbcb commit c933ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/getters/object.ts
Expand Up @@ -107,7 +107,7 @@ export const getObject = async ({
if (item.additionalProperties) {
if (isBoolean(item.additionalProperties)) {
return {
value: `{[key: string]: object}`,
value: `{ [key: string]: any }`,
imports: [],
schemas: [],
isEnum: false,
Expand Down

1 comment on commit c933ae1

@vercel
Copy link

@vercel vercel bot commented on c933ae1 Aug 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.