Skip to content

Commit 9ef6d7a

Browse files
committed
Add back SyntaxKind.Parameter and deprecate
1 parent 5b8ea75 commit 9ef6d7a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/compiler/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ export const enum SyntaxKind {
231231
// Signature elements
232232
TypeParameter,
233233
ParameterDeclaration,
234+
/** @deprecated Use SyntaxKind.ParameterDeclaration */
235+
Parameter = ParameterDeclaration,
234236
Decorator,
235237
// TypeMember
236238
PropertySignature,

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3793,6 +3793,8 @@ declare namespace ts {
37933793
ComputedPropertyName = 167,
37943794
TypeParameter = 168,
37953795
ParameterDeclaration = 169,
3796+
/** @deprecated Use SyntaxKind.ParameterDeclaration */
3797+
Parameter = 169,
37963798
Decorator = 170,
37973799
PropertySignature = 171,
37983800
PropertyDeclaration = 172,

0 commit comments

Comments
 (0)