-
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
Remove unused imports #24
Conversation
Hi @aayush-sib , |
Hi @matiasbastos |
Hi guys! Any updates on this? What stops this PR from merging? @aayush-sib I don't really understand why you suggest creating a branch in this repo instead of merging the forked one... What is the difference? |
Hi @matiasbastos @yurist38 Thanks, @matiasbastos for raising the PR, we appreciate your efforts. Regards |
@aayush-sib [UPDATE]: |
Hi @yurist38 |
Sorry, I've been out for a while, this evening will retest. Thanks! |
@aayush-sib The error appears if I do import like this:
But when I require the library in this way:
then the error does not appear and the project builds successfully and works. Right now I use |
Hi @yurist38 |
@aayush-sib Oh, you're right. Sorry, I've mixed up this PR with another one #23 . This is one that should fix it. |
Hi @yurist38 |
Sorry, so what's missing here? Can this be merged? |
As you had already seen currently, we are using OpenAPI Generator to generate our typescript wrapper, we can't directly merge PR's since it's not recommended as we have to make all similar changes again when we will generate the wrapper. So, for this issue, I have introduced es lint in this wrapper which will remove all unused imports. I am still working on the other fix due to which the build is failing. Also, we are in planning to introduce our own custom-made wrappers and in those wrappers, other developers can also contribute. |
That sounds great! So guess it's ok to close this PR as is going to be fixed in a future release? |
I haven't closed this PR because I was waiting for your response, whether this issue (unused imports issue) is fixed or not. If this issue is fixed you can close this PR 🙂 . |
Removed unused imports to fix build errors (fix #25)