-
Notifications
You must be signed in to change notification settings - Fork 1
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 error on Visual Studio Code #6
Comments
Hey, thanks for reporting. I just published a fix in |
Ok, I made some changes to the typescript declarations and I think it's fixed. Can you do |
I get this error when trying to install the package. I had to install jam:method locally in the packages folder to work. The beta version you just released is not available in github to test if it working. |
Ok I uploaded the new release to GitHub so you can work with it locally. The If you’re still seeing it, then I'll have to report to the Meteor team. I think the only way to get rid of it is remove the local cache. On a Mac it would be like this, not sure about Windows:
|
The issue is still there. Same error on the beta release
Yes the error was there when I first tried to add the package. Also tried with the explicit version number and same result. IMPORTANT |
Hmm I haven't been able to reproduce the issue. If you're getting the exact same error as before, then I think something might be cached within Visual Code Studio. Might be worth closing the project and reopening. If you're willing to point me to a GitHub repo, I may be able to investigate further. I can't really reproduce the code that you're using with the Since you're not using typescript at all, you could adjust your config files so that the typescript compiler in Visual Code Studio doesn't check your js files or you can use
Very strange. I have no idea what would cause that. If you have any ideas, let me know. |
I found out that this error occurs when the extension Vue Language Features (Volar) is installed, which is the official extension from vuejs.org. Thank you |
Property 'updated' does not exist on type '{ updated: boolean; } | { pipe: (...fns: Function[]) => (...args?: any[]) => Promise<Promise<{ updated: boolean; }>>; }'. i would suspect the problem is somewhere around this part? |
I get the following error in VS Code when trying to call the methods.
The code runs just fine.
const { _id, code } = await insertContact({ contact })
The text was updated successfully, but these errors were encountered: