mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
chore: bump dependencies (#11225)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user