Skip to content

Commit

Permalink
[minor] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Jul 8, 2021
1 parent 66e58d2 commit ea63b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/websocket.js
Expand Up @@ -128,7 +128,7 @@ class WebSocket extends EventEmitter {
*/
/* istanbul ignore next */
get onerror() {
return null;
return undefined;
}

/* istanbul ignore next */
Expand Down

0 comments on commit ea63b29

Please sign in to comment.