From 853365e033d99a788a4d4b45dadf0933acb33da2 Mon Sep 17 00:00:00 2001 From: Alex Godko Date: Sat, 12 Mar 2016 21:12:08 +0200 Subject: [PATCH] Change chrome.runtime.onConnectExternal type Change onConnectExternal type from RuntimeEvent to ExtensionConnectEvent according to https://developer.chrome.com/extensions/runtime#event-onConnectExternal and unsuccessuful compilation of my project :) --- chrome/chrome.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index fccb84895e..3572299202 100644 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -5312,7 +5312,7 @@ declare module chrome.runtime { * Fired when a connection is made from another extension. * @since Chrome 26. */ - var onConnectExternal: RuntimeEvent; + var onConnectExternal: ExtensionConnectEvent; /** Sent to the event page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that since the page is unloading, any asynchronous operations started while handling this event are not guaranteed to complete. If more activity for the event page occurs before it gets unloaded the onSuspendCanceled event will be sent and the page won't be unloaded. */ var onSuspend: RuntimeEvent; /**