From 17d993a9e0b7f067be3db64adeae5f627ecb38e9 Mon Sep 17 00:00:00 2001 From: SeokhunEom Date: Wed, 8 Oct 2025 13:00:08 +0900 Subject: [PATCH] lib: fix typo in QuicSessionStats Corrects the misspelling of "privateSynbol" to "privateSymbol". --- lib/internal/quic/stats.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/internal/quic/stats.js b/lib/internal/quic/stats.js index 36011c2c75539a..a612356250a06c 100644 --- a/lib/internal/quic/stats.js +++ b/lib/internal/quic/stats.js @@ -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)) {