-
Notifications
You must be signed in to change notification settings - Fork 90
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
Signature mismatch x compile errors TS2339, TS2358, TS2339 #1590
Comments
Hello @bitbreakr Feel free to open a PR to fix it |
Hi @bitbreakr, I'm quite surprised to see these errors. Can you provide a test/pet project where this issue happens? Also, if you ask this question in our Discord, you may find someone who shared this issue because it seems to be related to something particular on your project. |
You have Set this option to |
Never mind I can see the problem. You are importing the source files instead of the build files. Same issue in #1613 . In your screenshots you can see the path |
We can clearly see in the provided logs that the source code (TypeScript files) is imported, and so I'm closing it. |
Description
The Meilisearch JavaScript library, meilisearch-js, is causing my TypeScript project to fail to compile due to some type signature errors in the file http-requests.ts.
I have cloned the repo, and I have precisely found where is the faulty code (see screenshot below)
When I try to compile my project, I get 3 errors that fall under TS2339, TS2358, TS2339:
Expected behavior
Errorless compilation
Current behavior
compile errors TS2339, TS2358, TS2339
Screenshots or Logs
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: