Skip to content

Commit d7022a9

Browse files
author
Joey Watts
committed
Rename transformer function
Signed-off-by: Joey Watts <[email protected]>
1 parent f634402 commit d7022a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/transformer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace ts {
3333
addRange(transformers, customTransformers && customTransformers.before);
3434

3535
transformers.push(transformTypeScript);
36-
transformers.push(transformClassProperties);
36+
transformers.push(transformClassFields);
3737

3838
if (jsx === JsxEmit.React) {
3939
transformers.push(transformJsx);

src/compiler/transformers/classFields.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace ts {
1414
* (where the declarations get elided and initializers are transformed as assignments in the constructor).
1515
* Eventually, this transform will change to the ECMAScript semantics (with Object.defineProperty).
1616
*/
17-
export function transformClassProperties(context: TransformationContext) {
17+
export function transformClassFields(context: TransformationContext) {
1818
const {
1919
hoistVariableDeclaration,
2020
endLexicalEnvironment,

0 commit comments

Comments
 (0)