Chrome Typescript link debugging incorrect for 'this'

Sometimes, when I hit a breakpoint in Chrome developer tools, TypeScript thisis actually _thisin JavaScript. I need to manually put it _thisin the console to see what is actually being used. Is there any way to fix this?

+4
source share
1 answer

TypeScript is actually _this in JavaScript

This is due to an error in the source maps. You can track it here: https://github.com/Microsoft/TypeScript/issues/2859

+9
source

All Articles