Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/internal/quic/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ class QuicSessionStats {
#disconnected = false;

/**
* @param {symbol} privateSynbol
* @param {symbol} privateSymbol
* @param {BigUint64Array} buffer
*/
constructor(privateSynbol, buffer) {
constructor(privateSymbol, buffer) {
// We use the kPrivateConstructor symbol to restrict the ability to
// create new instances of QuicSessionStats to internal code.
if (privateSynbol !== kPrivateConstructor) {
if (privateSymbol !== kPrivateConstructor) {
throw new ERR_ILLEGAL_CONSTRUCTOR();
}
if (!isArrayBuffer(buffer)) {
Expand Down
Loading