html
html copied to clipboard
Confusing xref for HostResolveImportedModule
The definition of HostResolveImportedModule links to ES but implements the version in import assertions, which took me a minute to find. It would be better to link to the latter, I think.
Although this is a minor editorial change and would probably be fine, it's worth noting there is a proposal to be presented at the next TC39 meeting for refactoring all the host module hooks into a single hook, which which ultimately invalidate such a change anyway.
A PR from anyone fixing this would be very welcome in the meantime.
I would be interested in picking up this small, soon obsolete contribution, in order to practice my PR on some open source code!