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:
allentc
2014-07-31 01:12:24 -06:00
parent 1b831404ee
commit 500fc1022b

View File

@@ -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;
}