You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's probably just an outdated example remaining from #6766 since the mongoose.createConnection(host, dbname, port) syntax is no longer supported as you can see:
Prerequisites
Mongoose version
6.7.0
Node.js version
16.16.0
MongoDB server version
6.0.0
Typescript version (if applicable)
4.8.0
Description
If you use the official website sample code to connect to the database, there will be a TS error
Steps to Reproduce
Use the official website example code
Ts error occurs
Expected Behavior
No response
The text was updated successfully, but these errors were encountered: