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

ts-node usage should not do type checking #332

Closed
matt-gadd opened this issue Oct 10, 2019 · 0 comments · Fixed by #334
Closed

ts-node usage should not do type checking #332

matt-gadd opened this issue Oct 10, 2019 · 0 comments · Fixed by #334

Comments

@matt-gadd
Copy link
Contributor

Bug
We use ts-node to parse the routes config as well as blocks (because they're not compiled with webpack). Because of this sometimes ts-node can create spurious errors (due to incorrect configuration), when in reality we only want to use ts-node to transpile the code. To fix we should set transpileOnly to true in the register options:

tsnode.register({ transpileOnly: true });
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

Successfully merging a pull request may close this issue.

1 participant