Skip to content

Commit 123a78e

Browse files
committed
feat(body): allow body with only meta defined
1 parent 41d85dd commit 123a78e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/body.ts

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ type TopLevelMembers = OptionalTopLevelMembers &
3232
errors: JsonApiError[];
3333
meta?: Meta;
3434
}
35+
| {
36+
meta: Meta;
37+
}
3538
);
3639

3740
export type JsonApiBodyOptions = {

0 commit comments

Comments
 (0)