瀏覽代碼

Make WebViewSourceHtml.baseUrl optional (#454)

Scott Beca 5 年之前
父節點
當前提交
0f9b770186
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/WebViewTypes.ts

+ 1
- 1
src/WebViewTypes.ts 查看文件

176
   /**
176
   /**
177
    * The base URL to be used for any relative links in the HTML.
177
    * The base URL to be used for any relative links in the HTML.
178
    */
178
    */
179
-  baseUrl: string;
179
+  baseUrl?: string;
180
 }
180
 }
181
 
181
 
182
 export type WebViewSource = WebViewSourceUri | WebViewSourceHtml;
182
 export type WebViewSource = WebViewSourceUri | WebViewSourceHtml;