How to setup AVA to work with both javascript and typescript files? #3324
Replies: 1 comment
-
You haven't told Node.js to treat |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a codebase written in javascript and I would like to migrate it to typescript.
I was able to setup ava to run tests for
.ts
files copying setup from this example (ts receipe page, playground). Ts works!If I will add
.js
files to scenario, I had an error:Here is the my example repo with representation of the issue:
inside
package.json
Any tips to make both
js
andts
work together?Thank you,
Max.
Beta Was this translation helpful? Give feedback.
All reactions