Skip to content

Commit 84b3361

Browse files
nicholas-lnodkz
authored andcommitted
fix(Flowtype): add credentials in Fetch Options
Update definitions for credentials in FetchOpts Definition
1 parent 7267455 commit 84b3361

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/definition.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type FetchOpts = {
1414
method: 'POST' | 'GET',
1515
headers: { [name: string]: string },
1616
body: string | FormData,
17+
credentials: | 'omit' | 'same-origin' | 'include',
1718
};
1819

1920
export type RRNLRequestObject =

0 commit comments

Comments
 (0)