File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ namespace ts {
673673 kind : SyntaxKind . Parameter ;
674674 parent ?: SignatureDeclaration ;
675675 dotDotDotToken ?: DotDotDotToken ; // Present on rest parameter
676- name : BindingName ; // Declared parameter name
676+ name ? : BindingName ; // Declared parameter name. Missing if this is a parameter in a JSDocFunctionType.
677677 questionToken ?: QuestionToken ; // Present on optional parameter
678678 type ?: TypeNode ; // Optional type annotation
679679 initializer ?: Expression ; // Optional initializer
@@ -751,7 +751,7 @@ namespace ts {
751751 export interface VariableLikeDeclaration extends NamedDeclaration {
752752 propertyName ?: PropertyName ;
753753 dotDotDotToken ?: DotDotDotToken ;
754- name : DeclarationName ;
754+ name ? : DeclarationName ; // May be missing for ParameterDeclaration, see comment there
755755 questionToken ?: QuestionToken ;
756756 type ?: TypeNode ;
757757 initializer ?: Expression ;
You can’t perform that action at this time.
0 commit comments