Skip to content

Explore using MDN to improve DOM documentation  #44204

@mjbvz

Description

@mjbvz

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions