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 vscode and I am hoping somebody would point me in the direction of 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]
enter image description here
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 vscode to default settings and removed every extension without any success. I switched to using typescript without success.
I am not a professional software engineer. I learn in my free time and the one area I’ve always had trouble with, is setting up an IDE to be helpful, not frustrating. If anybody has a simple answer to get me going without having to write the code twice, I’d appreciate it.