-
Notifications
You must be signed in to change notification settings - Fork 19
Typescript migration #146
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 migration #146
Conversation
Setup e2e testing with BDD, Cypress & Cucumber
Sorry, I was expecting this to follow on from #127... but I must have done something wrong :-| Anyway, hopefully you (or someone else?) can see the code and help me understand why I'm getting those errors? |
Hey i will check it out 👍 Edit: |
Thanks for having checked this out. Glad it wasn't only me banging my head against the wall! I'll close this and do what you suggest... but can we please move to Vite first ;-). I see what you've started for the build in vue3-support and have managed to get a dev environment set up in vite. Still need to have a look at vitetest as a replacement for jest... |
@MrWook - I've rebased this branch off the latest master branch into which I also merged in my latest PR #145 (although I look forward to your review of that...) and have set about converting everything to TypeScript.
It's been a good exercise in applying my nascent TypeScript skills, although I have resorted to adding
// @ts-ignore
in a few places where I didn't know what to do.Now, when I run
npm run build
, I am no longer getting the above error, but this instead:One stackoverflow post suggested I should install the
@babel/plugin-proposal-decorators
package and add["@babel/plugin-proposal-decorators", { "legacy": true }]
to the plugins section of the.babelrc
file.I have tried this, however, the error persists. So basically, I'm stuck - and would appreciate some help! :-)