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 Jul 8, 2024
1 parent 4745df8 commit e5b980e
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 @@ -231,6 +231,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 @@ -3792,6 +3792,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 e5b980e

Please sign in to comment.