mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
Correct parameter optionality
The last three parameters of ticker.addEventListener are optional. See: http://api.greensock.com/js/com/greensock/TweenMax.html#ticker
This commit is contained in:
2
greensock/greensock.d.ts
vendored
2
greensock/greensock.d.ts
vendored
@@ -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