Open coolCucumber-cat opened 1 year ago
I am very interested in contributing.
You can point the TS_NODE_PROJECT variable in your vscode settings to a "modern" tsconfig
"code-runner.executorMap": {
"typescript": "TS_NODE_PROJECT=~/stuff/tsconfig.json ts-node"
}
Describe the bug I watched the TypeScript Basics video by Fireship and noticed that they showed what happens if you try to use await and don't update the tsconfig.json file to use the latest verison of JavaScript. Assuming, this actually uses TypeScript and this is transpiled from TypeScript, the transpiler is generating some very ugly looking and unreadable code. You can make the update tsconfig so that the property "target" of "compilerOptions" is set to "ESNext". I don't know if this is actually the case, maybe it's for some other reason, but just in case you didn't realise
To Reproduce Steps to reproduce the behavior: