Use method shorthand

This commit is contained in:
nekoziroo
2018-03-02 21:48:20 +09:00
parent eeddbd48bd
commit bf680a164f

View File

@@ -2296,7 +2296,7 @@ declare namespace browser.runtime {
/** An object which allows two way communication with other pages. */
interface Port {
name: string;
disconnect: () => void;
disconnect(): void;
onDisconnect: events.Event;
onMessage: events.Event;
postMessage(message: object): void;