From 84b33615131721928333f6bede1bacaa6c6e4093 Mon Sep 17 00:00:00 2001 From: Nicholas Latham Date: Sun, 4 Nov 2018 04:15:51 +1300 Subject: [PATCH] fix(Flowtype): add credentials in Fetch Options Update definitions for credentials in FetchOpts Definition --- src/definition.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/definition.js b/src/definition.js index 52759d5..66017fc 100644 --- a/src/definition.js +++ b/src/definition.js @@ -14,6 +14,7 @@ export type FetchOpts = { method: 'POST' | 'GET', headers: { [name: string]: string }, body: string | FormData, + credentials: | 'omit' | 'same-origin' | 'include', }; export type RRNLRequestObject =