Permalink
Browse files

Merge pull request #9 from wimpyprogrammer/callback-type-annotations-…

…syntax

Fixing type annotations in domain.js
  • Loading branch information...
2 parents ee43199 + 8a76d75 commit c9c203366498f4a5b54793279abacc93af130ca8 @dcodeIO committed on GitHub Nov 4, 2016
Showing with 4 additions and 4 deletions.
  1. +4 −4 domain.js
View
@@ -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) {};

0 comments on commit c9c2033

Please sign in to comment.