See the image for an example of what I mean:
In this image, I am using ‘mongoose’ and I expect to find Schema Properties such as required
, immutable
, validator
, etc. This happens with most modules installed and used within VS Code. Is there a better option without having to write my own types for each declaration I do?
Versions:
- [email protected]
- [email protected]
- [email protected]
- OS = [email protected]
- node via nvm @ 20.12.2
- @types/[email protected]
I have been searching around Stack Overflow and various other search results, but most of them are from years ago and things have changed. Mongoose, now puts their types within their own package, not @types
, but I am unsure if that’s even the problem since I have issues with ‘express’ type completions as well.
I have reverted VS Code to default settings and removed every extension without any success. I switched to using TypeScript without success.