Skip to content

Commit

Permalink
feat: have stricter type-checks (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Strobotti committed May 30, 2023
1 parent 83f0fd4 commit 962b7f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type Item = {
relationships?: {
[key: string]: {
links?: {
[key: string]: any;
[key: string]: string | null;
};
data?: RelationshipItem | RelationshipItem[] | null;
};
Expand All @@ -30,7 +30,7 @@ export type Item = {
[key: string]: any;
};
links?: {
[key: string]: any;
[key: string]: string | null;
};
};

Expand All @@ -44,7 +44,7 @@ type JsonApiPayload = {
[key: string]: any;
};
links?: {
[key: string]: any;
[key: string]: string | null;
};
};

Expand Down

0 comments on commit 962b7f5

Please sign in to comment.