We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e757ea commit b533485Copy full SHA for b533485
lib/internal/quic/util.js
@@ -495,8 +495,6 @@ function validateQuicStreamOptions(options = {}) {
495
496
function validateQuicEndpointOptions(options = {}, name = 'options') {
497
validateObject(options, name);
498
- if (options === null || typeof options !== 'object')
499
- throw new ERR_INVALID_ARG_TYPE('options', 'Object', options);
500
const {
501
address,
502
lookup,
0 commit comments