Skip to content

Commit

Permalink
Change chrome.runtime.onConnectExternal type
Browse files Browse the repository at this point in the history
Change onConnectExternal type from RuntimeEvent to ExtensionConnectEvent
according to https://developer.chrome.com/extensions/runtime#event-onConnectExternal and unsuccessuful compilation of my project :)
  • Loading branch information
koloboid committed Mar 12, 2016
1 parent d22516f commit 853365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/chrome.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down

0 comments on commit 853365e

Please sign in to comment.