Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
fix(core): remove usage of deprecated TypeScript method
Browse files Browse the repository at this point in the history
see microsoft/TypeScript#25350 for discussion
  • Loading branch information
urish committed Jul 3, 2018
1 parent 062623c commit 01eeaec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/typewiz-core/src/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function updateArrow(node: ts.ArrowFunction, instrumentStatements: ReadonlyArray
node.typeParameters,
node.parameters,
node.type,
node.equalsGreaterThanToken,
ts.createBlock([...instrumentStatements, ...oldBody]),
);
}
Expand Down

0 comments on commit 01eeaec

Please sign in to comment.