Skip to content

Commit 6d0385e

Browse files
committed
Stop checking ThisReceiver
1 parent 24949bb commit 6d0385e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/transform-node.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,7 @@ class Transformer extends Source {
324324
node instanceof angular.SafeKeyedRead ||
325325
node instanceof angular.SafePropertyRead;
326326
const { receiver } = node;
327-
const isImplicitReceiver =
328-
receiver instanceof angular.ImplicitReceiver &&
329-
!(receiver instanceof angular.ThisReceiver);
327+
const isImplicitReceiver = receiver instanceof angular.ImplicitReceiver;
330328

331329
let property;
332330
if (isComputed) {

0 commit comments

Comments
 (0)