Skip to content

Commit d5f4d4b

Browse files
committed
Add back SyntaxKind.Parameter and deprecate
1 parent ca49040 commit d5f4d4b

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4350,6 +4350,8 @@ declare namespace ts {
43504350
ComputedPropertyName = 167,
43514351
TypeParameter = 168,
43524352
ParameterDeclaration = 169,
4353+
/** @deprecated Use SyntaxKind.ParameterDeclaration */
4354+
Parameter = 169,
43534355
Decorator = 170,
43544356
PropertySignature = 171,
43554357
PropertyDeclaration = 172,

0 commit comments

Comments
 (0)