Less aggressive use of optional chaining

This commit is contained in:
Ron Buckton 2024-09-18 09:56:02 -04:00
parent 7e2f1bb99a
commit 85e91cb62b
No known key found for this signature in database
2 changed files with 681 additions and 683 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1895,6 +1895,7 @@ export interface ParameterDeclaration extends NamedDeclaration, JSDocContainer {
readonly parent: SignatureDeclaration;
readonly modifiers?: NodeArray<ModifierLike> | undefined;
readonly dotDotDotToken?: DotDotDotToken | undefined; // Present on rest parameter
// TODO(rbuckton): `name` can be undefined for JSDoc signature parameters
readonly name: BindingName; // Declared parameter name.
readonly questionToken?: QuestionToken | undefined; // Present on optional parameter
readonly type?: TypeNode | undefined; // Optional type annotation