Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

generic type param missing from signature #56

Closed
alexeagle opened this issue Aug 28, 2015 · 0 comments · Fixed by #57
Closed

generic type param missing from signature #56

alexeagle opened this issue Aug 28, 2015 · 0 comments · Fixed by #57
Assignees

Comments

@alexeagle
Copy link
Contributor

* @param {function(this:SCOPE)|{handleEvent:function()}|null} listener Function
 *     or object that has a handleEvent method.
 * @param {number=} opt_delay Milliseconds to wait; default is 0.
 * @param {SCOPE=} opt_handler Object in whose scope to call the listener.
 * @return {number} A handle to the timer ID.
 * @template SCOPE
 */
goog.Timer.callOnce = function(listener, opt_delay, opt_handler) {
static callOnce < SCOPE > (listener : ( ( ) => any | { handleEvent : ( ) => any } ) , opt_delay ? : number , opt_handler ? : ( ) ) : number ;

the type of opt_handler is ( ) which is not valid

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant