chore: bump dependencies (#11225)

This commit is contained in:
Almeida
2025-10-31 11:15:45 +00:00
committed by GitHub
parent 178c9cb348
commit fb5c629638
48 changed files with 3157 additions and 3252 deletions

View File

@@ -176,7 +176,7 @@ export class TypeScriptHelpers {
}
// If we ran out of items, or if the kind doesn't match, then fail
if (!current || current.kind !== parentKind) {
if (current?.kind !== parentKind) {
return undefined;
}
}

View File

@@ -956,10 +956,8 @@ export class Collector {
declaration,
ts.SyntaxKind.VariableStatement,
) as ts.VariableStatement | undefined;
if (
statement !== undefined && // For a compound declaration, fall back to looking for C instead of A
statement.declarationList.declarations.length === 1
) {
// For a compound declaration, fall back to looking for C instead of A
if (statement?.declarationList.declarations.length === 1) {
nodeForComment = statement;
}
}