mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #5143 from pimterry/chrome-hasListener
Make Chome API event.hasListener return a boolean
This commit is contained in:
commit
3512aeeb55
1 file changed
+1
-1
Vendored
+1
-1
@@ -869,7 +869,7 @@ declare module chrome.events {
|
||||
addListener(callback: Function): void;
|
||||
getRules(callback: (rules: Rule[]) => void): void;
|
||||
getRules(ruleIdentifiers: string[], callback: (rules: Rule[]) => void): void;
|
||||
hasListener(callback: Function): void;
|
||||
hasListener(callback: Function): boolean;
|
||||
removeRules(ruleIdentifiers?: string[], callback?: Function): void;
|
||||
addRules(rules: Rule[], callback?: (rules: Rule[]) => void): void;
|
||||
removeListener(callback: Function): void;
|
||||
|
||||
Reference in new issue
Block a user