File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ namespace ts {
673
673
kind : SyntaxKind . Parameter ;
674
674
parent ?: SignatureDeclaration ;
675
675
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.
677
677
questionToken ?: QuestionToken ; // Present on optional parameter
678
678
type ?: TypeNode ; // Optional type annotation
679
679
initializer ?: Expression ; // Optional initializer
@@ -751,7 +751,7 @@ namespace ts {
751
751
export interface VariableLikeDeclaration extends NamedDeclaration {
752
752
propertyName ?: PropertyName ;
753
753
dotDotDotToken ?: DotDotDotToken ;
754
- name : DeclarationName ;
754
+ name ? : DeclarationName ; // May be missing for ParameterDeclaration, see comment there
755
755
questionToken ?: QuestionToken ;
756
756
type ?: TypeNode ;
757
757
initializer ?: Expression ;
You can’t perform that action at this time.
0 commit comments