Skip to content

Commit

Permalink
feat: make sure empty groups have zero fields
Browse files Browse the repository at this point in the history
  • Loading branch information
boyum committed Jan 20, 2023
1 parent f9e4dd1 commit 4e2950e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,7 @@ export type Image = Media & {
/**
* If there are no fields in the group, the group's inferred params is only `{}`
*/
type InferEmptyGroupParams = Record<string, never>;
type InferEmptyGroupParams = Record<never, never>;
/**
* If there is only one field in the group,
* the group's inferred params is the type of that field
Expand Down
2 changes: 2 additions & 0 deletions index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4e2950e

Please sign in to comment.