diff --git a/lib/internal/quic/util.js b/lib/internal/quic/util.js index e2aa07a4560c14..722cc6d74b8397 100644 --- a/lib/internal/quic/util.js +++ b/lib/internal/quic/util.js @@ -495,8 +495,6 @@ function validateQuicStreamOptions(options = {}) { function validateQuicEndpointOptions(options = {}, name = 'options') { validateObject(options, name); - if (options === null || typeof options !== 'object') - throw new ERR_INVALID_ARG_TYPE('options', 'Object', options); const { address, lookup,