mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #2589 from allentc/master
Correct parameter optionality
This commit is contained in:
commit
4ccd1d477e
1 file changed
+1
-1
Vendored
+1
-1
@@ -7,7 +7,7 @@
|
||||
// Version 1.1 (TypeScript 0.9)
|
||||
|
||||
interface IDispatcher {
|
||||
addEventListener(type:string, callback:Function, scope:Object, useParam:boolean, priority:number):void;
|
||||
addEventListener(type:string, callback:Function, scope?:Object, useParam?:boolean, priority?:number):void;
|
||||
removeEventListener(type:string, callback:Function):void;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user