Skip to content

Commit

Permalink
Add back SyntaxKind.Parameter and deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Aug 30, 2023
1 parent a428b80 commit 7d99242
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ export const enum SyntaxKind {
// Signature elements
TypeParameter,
ParameterDeclaration,
/** @deprecated Use SyntaxKind.ParameterDeclaration */
Parameter = ParameterDeclaration,
Decorator,
// TypeMember
PropertySignature,
Expand Down
2 changes: 2 additions & 0 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4274,6 +4274,8 @@ declare namespace ts {
ComputedPropertyName = 167,
TypeParameter = 168,
ParameterDeclaration = 169,
/** @deprecated Use SyntaxKind.ParameterDeclaration */
Parameter = 169,
Decorator = 170,
PropertySignature = 171,
PropertyDeclaration = 172,
Expand Down

0 comments on commit 7d99242

Please sign in to comment.