Skip to content

Commit ff0c342

Browse files
Ronni PerssonRonni Persson
authored andcommitted
Make id non-nullable for json-api resource type def
1 parent 1b10c14 commit ff0c342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow-typed/browser/json-api_vx.x.x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ declare module 'json-api' {
9595
};
9696

9797
declare type JSONAPIResource = {|
98-
id?: string,
98+
id: string,
9999
type: string,
100100
attributes?: JSONAPIAttributes,
101101
relationships?: JSONAPIRelationships,

0 commit comments

Comments
 (0)