Closed
Description
I do not know how to make a self-contained report of this bug, because I don't really know what's causing it. The code below is the javascript I'm using that is creating the bug.
let ts = require("typescript");
...
let tsAnswer = ts.transpile(answer);
Expected behavior:
I can transpile code for an online playground-type thing (specifically a typescript version of CodingJS from https://github.com/the-winter/codingjs
Actual behavior:
I get an error and can't even open the page. The error is:
TypeError: ts.perfLogger.logInfoEvent is not a function
Platform Windows 10
I was able to solve this problem by downgrading typescript in the project to version 3.5.3. I suspect the issue comes from #32612 . It's possible I need to add a new package, but the code is not working as is, which is a bug.