Skip to content

Commit

Permalink
Rename transformer function
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Watts <jwatts43@bloomberg.net>
  • Loading branch information
Joey Watts committed May 8, 2019
1 parent f634402 commit d7022a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace ts {
addRange(transformers, customTransformers && customTransformers.before);

transformers.push(transformTypeScript);
transformers.push(transformClassProperties);
transformers.push(transformClassFields);

if (jsx === JsxEmit.React) {
transformers.push(transformJsx);
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/transformers/classFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace ts {
* (where the declarations get elided and initializers are transformed as assignments in the constructor).
* Eventually, this transform will change to the ECMAScript semantics (with Object.defineProperty).
*/
export function transformClassProperties(context: TransformationContext) {
export function transformClassFields(context: TransformationContext) {
const {
hoistVariableDeclaration,
endLexicalEnvironment,
Expand Down

0 comments on commit d7022a9

Please sign in to comment.