We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a46fa commit 535aac4Copy full SHA for 535aac4
src/common.ts
@@ -11,7 +11,7 @@ export type LinkObject = {
11
};
12
13
export type Link = LinkObject | string;
14
-export type Links<TKey extends string = string> = Record<TKey, Link | null>;
+export type Links<TKey extends string = string> = Partial<Record<TKey, Link | null>>;
15
16
export type Attributes = Record<string, unknown>;
17
export type Relationships = Record<string, Relationship>;
0 commit comments