Browse Source

Change flow type

Ben Hsieh 8 years ago
parent
commit
a6c15ba209
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      src/types.js

+ 8
- 0
src/types.js View File

42
   ls : (path:string, callback: (err:any) => void) => void,
42
   ls : (path:string, callback: (err:any) => void) => void,
43
 };
43
 };
44
 
44
 
45
+type RNFetchBlobResponseInfo = {
46
+  taskId : string,
47
+  state : number,
48
+  headers : any,
49
+  status : number,
50
+  rnfbEncode : 'path' | 'base64' | 'ascii' | 'utf8'
51
+}
52
+
45
 type RNFetchBlobStream = {
53
 type RNFetchBlobStream = {
46
   onData : () => void,
54
   onData : () => void,
47
   onError : () => void,
55
   onError : () => void,