Skip to content

Commit 27426be

Browse files
committed
Add back SyntaxKind.Parameter and deprecate
1 parent c4104c8 commit 27426be

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/compiler/types.ts

+2
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

+2
Original file line numberDiff line numberDiff line change
@@ -3755,6 +3755,8 @@ declare namespace ts {
37553755
ComputedPropertyName = 167,
37563756
TypeParameter = 168,
37573757
ParameterDeclaration = 169,
3758+
/** @deprecated Use SyntaxKind.ParameterDeclaration */
3759+
Parameter = 169,
37583760
Decorator = 170,
37593761
PropertySignature = 171,
37603762
PropertyDeclaration = 172,

0 commit comments

Comments
 (0)