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

Commit 8a76d75

Browse files
Fixing type annotations in domain.js
Fixing the syntax of the type annotations for variable number, any type callbacks to avoid warnings from the Closure Compiler.
1 parent ee43199 commit 8a76d75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

domain.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ domain.Domain.prototype.add = function(emitter) {};
6464
domain.Domain.prototype.remove = function(emitter) {};
6565

6666
/**
67-
* @param {function(...[*])} callback
68-
* @return {function(...[*])}
67+
* @param {function(...*)} callback
68+
* @return {function(...*)}
6969
*/
7070
domain.Domain.prototype.bind = function(callback) {};
7171

7272
/**
73-
* @param {function(...[*])} callback
74-
* @return {function(...[*])}
73+
* @param {function(...*)} callback
74+
* @return {function(...*)}
7575
*/
7676
domain.Domain.prototype.intercept = function(callback) {};
7777

0 commit comments

Comments
 (0)