-
Notifications
You must be signed in to change notification settings - Fork 19
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
v2.x throwing type errors and errors on build #16
Comments
Hi @treyhuffine |
I'm also having this issue when running the build phase with NextJS, it's not an option to change the value of |
I'm using NextJS as well and seeing this issue. This is the only package I'm using that causes this problem, so I would imagine it could be resolved in the build phase to make it a more generally usable NPM package. @gmencz I've downgraded to the 1.x package which still works if you need a quick fix. |
Thanks @treyhuffine downgrading seems to have fixed it, though I had to |
Same issue here. Sadly had to downgrade to 1.x and hack some types to make it work 😞 |
3 releases after, the code is still not linted, and couldnt be used by lot of people, can you just lint your code please? |
Same issue here, using NextJSl. This should really be considered a priority issue. |
Hi @nickfla1 Sorry for the inconvenience, we are not able to replicate the issue at our end. |
I have created a PR @aayush-sib to fix this issue #23 Could you mind to review it and release it? |
Hi @treyhuffine @gmencz @matiasbastos @ThomasP1988 @nickfla1 Can you all please confirm if the changes are working fine in your projects? |
I'll give it a test later, but from the top of my head, I remember having a lot of unused imports giving error on build... |
Hi @lorenzogm @matiasbastos |
My PR #23 is to fix the errors described above in this issue. So maybe start reviewing that one. @matiasbastos added something else that probably needs to be fixed as well, but it's not what we discussed in this issue. |
Well, #24 is also related to type errors on build but can create a new issue for my PR. |
Hi @matiasbastos |
@aayush-sib there you go #25 |
Hi I have released a beta tag https://www.npmjs.com/package/sib-api-v3-typescript/v/2.2.3-beta.1 for this. Can you please check if this is working well on your side? |
No activity in this for a looong time... I just happened to stumble on this issue. I got it fixed by using |
Hi |
Upgraded from 1.2.1 to 2.0.2 and am getting errors. Doing pretty simple things like addings emails to contacts and sending a transactional email for account creation. The only change I made in my code was switching to the new transactional class name.
The text was updated successfully, but these errors were encountered: