You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue where attempting to create a new SourceMapConsumer doesn't work in typescript but does in javascript. Tested with the following code:
In a js file, this logs a BasicSourceMapConsumer object. In a ts file, I get the following error
property 'decode' of undefined
at new URLStateMachine (url-state-machine.js:546)
at Object.module.exports.basicURLParse (url-state-machine.js:1264)
at new URLImpl (URL-impl.js:13)
at Object.setup (URL.js:317)
at new URL (URL.js:26)
at util.js:179
at Object.computeSourceURL (util.js:431)
at source-map-consumer.js:207
at Array.map (<anonymous>)
at source-map-consumer.js:206
TS version is ^4.1.3
The text was updated successfully, but these errors were encountered:
I'm running into an issue where attempting to create a new SourceMapConsumer doesn't work in typescript but does in javascript. Tested with the following code:
In a js file, this logs a BasicSourceMapConsumer object. In a ts file, I get the following error
TS version is ^4.1.3
The text was updated successfully, but these errors were encountered: