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 Mar 19, 2024
1 parent c4104c8 commit 27426be
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 @@ -232,6 +232,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 @@ -3755,6 +3755,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 27426be

Please sign in to comment.