diff --git a/types/chrome/chrome-webview.d.ts b/types/chrome/chrome-webview.d.ts index e2e0b7c429..b358b5a07d 100644 --- a/types/chrome/chrome-webview.d.ts +++ b/types/chrome/chrome-webview.d.ts @@ -15,13 +15,13 @@ /** * Use the webview tag to actively load live content from the web over the network and embed it in your Chrome App. Your app can control the appearance of the webview and interact with the web content, initiate navigations in an embedded web page, react to error events that happen within it, and more (see Usage). */ -declare namespace chrome.webviewTag { +declare namespace chrome.webview { /** Options that determine what data should be cleared by `clearData`. */ export interface ClearDataOptions { /** Clear data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the getTime method of the JavaScript Date object). If absent, defaults to 0 (which would remove all browsing data). */ since: number; } - export interface WindowEvent extends chrome.events.Event<() => void> {} + export interface WindowEvent extends chrome.events.Event<() => void> { } export interface ConsoleEvent extends Event { /** diff --git a/types/chrome/test/chrome-webview.ts b/types/chrome/test/chrome-webview.ts index 87ac8d606c..ff69f71d9b 100644 --- a/types/chrome/test/chrome-webview.ts +++ b/types/chrome/test/chrome-webview.ts @@ -1,4 +1,4 @@ -import webview = chrome.webviewTag; +import webview = chrome.webview; let element: webview.HTMLWebViewElement;