Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Fixing type annotations in domain.js
Browse files Browse the repository at this point in the history
Fixing the syntax of the type annotations for variable number, any type callbacks to avoid warnings from the Closure Compiler.
  • Loading branch information
wimpyprogrammer committed Feb 19, 2015
1 parent ee43199 commit 8a76d75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ domain.Domain.prototype.add = function(emitter) {};
domain.Domain.prototype.remove = function(emitter) {};

/**
* @param {function(...[*])} callback
* @return {function(...[*])}
* @param {function(...*)} callback
* @return {function(...*)}
*/
domain.Domain.prototype.bind = function(callback) {};

/**
* @param {function(...[*])} callback
* @return {function(...[*])}
* @param {function(...*)} callback
* @return {function(...*)}
*/
domain.Domain.prototype.intercept = function(callback) {};

Expand Down

0 comments on commit 8a76d75

Please sign in to comment.