Skip to content

Commit 4daeec1

Browse files
authored
lib: fix typo in QuicSessionStats
Corrects the misspelling of "privateSynbol" to "privateSymbol". PR-URL: #60155 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent bfc81ca commit 4daeec1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/quic/stats.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,13 @@ class QuicSessionStats {
307307
#disconnected = false;
308308

309309
/**
310-
* @param {symbol} privateSynbol
310+
* @param {symbol} privateSymbol
311311
* @param {BigUint64Array} buffer
312312
*/
313-
constructor(privateSynbol, buffer) {
313+
constructor(privateSymbol, buffer) {
314314
// We use the kPrivateConstructor symbol to restrict the ability to
315315
// create new instances of QuicSessionStats to internal code.
316-
if (privateSynbol !== kPrivateConstructor) {
316+
if (privateSymbol !== kPrivateConstructor) {
317317
throw new ERR_ILLEGAL_CONSTRUCTOR();
318318
}
319319
if (!isArrayBuffer(buffer)) {

0 commit comments

Comments
 (0)