Skip to content

Commit

Permalink
feat(body): allow body with only meta defined
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Mar 2, 2024
1 parent 41d85dd commit 123a78e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ type TopLevelMembers = OptionalTopLevelMembers &
errors: JsonApiError[];
meta?: Meta;
}
| {
meta: Meta;
}
);

export type JsonApiBodyOptions = {
Expand Down

0 comments on commit 123a78e

Please sign in to comment.