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

Commit ae67e0a

Browse files
committed
Fix typos in type annotations
The intent of these annotations seems clear, fix the typos. Signed-off-by: Kevin Locke <[email protected]>
1 parent ecba869 commit ae67e0a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

domain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ domain.Domain.prototype.run = function(fn) {};
5454
domain.Domain.prototype.members;
5555

5656
/**
57-
* @param {events.Emitter} emitter
57+
* @param {events.EventEmitter} emitter
5858
*/
5959
domain.Domain.prototype.add = function(emitter) {};
6060

net.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ net.Server = function() {};
7272

7373
/**
7474
*
75-
* @param {mumber|*} port
75+
* @param {number|*} port
7676
* @param {(string|number|function(...))=} host
7777
* @param {(number|function(...))=} backlog
7878
* @param {function(...)=} callback
@@ -107,7 +107,7 @@ net.Server.prototype.connections;
107107
net.Socket = function(options) {};
108108

109109
/**
110-
* @param {number|string|function(..)} port
110+
* @param {number|string|function(...)} port
111111
* @param {(string|function(...))=} host
112112
* @param {function(...)=} connectListener
113113
*/

zlib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ zlib.createInflate = function(options) {};
122122

123123
/**
124124
* @param {zlib.Options} options
125-
* @return {zlib.ReflateRaw}
125+
* @return {zlib.DeflateRaw}
126126
*/
127127
zlib.createDeflateRaw = function(options) {};
128128

0 commit comments

Comments
 (0)