Welcome to the new MongoDB Feedback Portal!
{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.
We’ve upgraded our feedback system to better capture, track, and act on your feedback. Here’s what you need to know:
|
What problem are you trying to solve? Focus on the what and why of the need you have, not the how you'd like it solved. |
When writing MongoDB Shell js scripts, I want to have autocompletion, and possibly type checking, by utilizing TypeScript types in js files (Or in the future, in ts files, when supported by mongosh, via for example tsx) |
|
What would you like to see happen? Describe the desired outcome or enhancement. |
Add a TypeScript declarations file (d.ts) that can be used in js/ts via |
|
Why is this important to you or your team? Explain how the request adds value or solves a business need. |
Will make it easier to develop or play around with js scripts for mongosh. And considering that the hard part of writing types is already mostly done it shouldn't be too difficult to add (and document, otherwise no one will know that it exists, I had to dig in the mongosh code to find that package) |
What steps, if any, are you taking today to manage this problem? |
Leaving without types in mongosh js scripts. Or later trying to create my own global definitions file for this. |