瀏覽代碼

Change flow type

Ben Hsieh 8 年之前
父節點
當前提交
a6c15ba209
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      src/types.js

+ 8
- 0
src/types.js 查看文件

@@ -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,