Skip to content

Commit 719a224

Browse files
committed
Add back SyntaxKind.Parameter and deprecate
1 parent 2a485b5 commit 719a224

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
@@ -233,6 +233,8 @@ export const enum SyntaxKind {
233233
// Signature elements
234234
TypeParameter,
235235
ParameterDeclaration,
236+
/** @deprecated Use SyntaxKind.ParameterDeclaration */
237+
Parameter = ParameterDeclaration,
236238
Decorator,
237239
// TypeMember
238240
PropertySignature,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4274,6 +4274,8 @@ declare namespace ts {
42744274
ComputedPropertyName = 167,
42754275
TypeParameter = 168,
42764276
ParameterDeclaration = 169,
4277+
/** @deprecated Use SyntaxKind.ParameterDeclaration */
4278+
Parameter = 169,
42774279
Decorator = 170,
42784280
PropertySignature = 171,
42794281
PropertyDeclaration = 172,

0 commit comments

Comments
 (0)