Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript file doesn't run correctly #429

Open
vadim-96 opened this issue Feb 10, 2019 · 1 comment
Open

Typescript file doesn't run correctly #429

vadim-96 opened this issue Feb 10, 2019 · 1 comment

Comments

@vadim-96
Copy link

By default code-runner has "code-runner.executorMap": { "typescript": "ts-node" } in the settings. But it doesn't work correctly.

The solution:
Maybe should make the first step to compile ts-file and then run js-file by node command? For example: "code-runner.executorMap": { "typescript": "tsc $fileName && node $fileNameWithoutExt" }

@mattorp
Copy link

mattorp commented Mar 26, 2021

Thank you @vadim-96 !! Fixed it for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants