Explorar el Código

Change flow type

Ben Hsieh hace 7 años
padre
commit
a6c15ba209
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8
    0
      src/types.js

+ 8
- 0
src/types.js Ver fichero

@@ -42,6 +42,14 @@ type RNFetchBlobNative = {
42 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 53
 type RNFetchBlobStream = {
46 54
   onData : () => void,
47 55
   onError : () => void,