瀏覽代碼

fix(types): Add new cacheEnabled prop to typescript prop type declarations (#335)

Thea Lanherne 5 年之前
父節點
當前提交
ff62c956e3
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      typings/index.d.ts

+ 6
- 0
typings/index.d.ts 查看文件

437
    */
437
    */
438
   originWhitelist?: string[];
438
   originWhitelist?: string[];
439
 
439
 
440
+  /**
441
+   * Boolean value that determines whether caching is enabled in the
442
+   * `WebView`. The default value is `true` - i.e. caching is *enabled by default*
443
+   */
444
+  cacheEnabled?: boolean,
445
+
440
   /**
446
   /**
441
    * Override the native component used to render the WebView. Enables a custom native
447
    * Override the native component used to render the WebView. Enables a custom native
442
    * WebView which uses the same JavaScript as the original WebView.
448
    * WebView which uses the same JavaScript as the original WebView.