Skip to content

Commit 69587a2

Browse files
author
Arthur Ozga
committed
transformers tests
1 parent 0fa4f11 commit 69587a2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/compiler/transformers/es2017.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ namespace ts {
125125
visitNodes(node.modifiers, visitor, isModifier),
126126
node.asteriskToken,
127127
node.name,
128+
node.questionToken,
128129
/*typeParameters*/ undefined,
129130
visitParameterList(node.parameters, visitor, context),
130131
/*type*/ undefined,

src/compiler/transformers/esnext.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ namespace ts {
541541
? undefined
542542
: node.asteriskToken,
543543
visitNode(node.name, visitor, isPropertyName),
544+
visitNode(node.questionToken, visitor, isToken),
544545
/*typeParameters*/ undefined,
545546
visitParameterList(node.parameters, visitor, context),
546547
/*type*/ undefined,

src/compiler/transformers/ts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,6 +2049,7 @@ namespace ts {
20492049
visitNodes(node.modifiers, modifierVisitor, isModifier),
20502050
node.asteriskToken,
20512051
visitPropertyNameOfClassElement(node),
2052+
node.questionToken,
20522053
/*typeParameters*/ undefined,
20532054
visitParameterList(node.parameters, visitor, context),
20542055
/*type*/ undefined,

0 commit comments

Comments
 (0)