-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Suggestion
🔍 Search Terms
- mdn
- jsdoc
- quickinfo / hover
- IntelliSense
- lib.dom.d.ts
⭐ Suggestion
When trying to figure out a DOM api, I often find that our built-in documentation isn't enough and that I instead have to go to MDN. It would be great if we could use MDN data to improve our documentation since MDN seems more up to date and more comprehensive than what we have in lib.dom.d.ts.
On the VS Code team, we have previously used MDN for our css and html support:
- Link to MDN API docs from intellisense vscode-html-languageservice#12
- Use MDN data to power the CSS language server vscode-css-languageservice#68
Some ideas to explore:
-
Pull in more documentation for types and parameters from MDN (not sure how much the lib-dom generator already does this, but many DOM types currently are missing documentation)
-
Add a MDN link to the bottom of documentation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Experience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsSuggestionAn idea for TypeScriptAn idea for TypeScript