Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element API like after,before,remove,replaceWith has wrong MDN link #1700

Open
HolgerJeromin opened this issue Mar 27, 2024 · 0 comments
Open

Comments

@HolgerJeromin
Copy link
Contributor

document.body.remove() tooltip points to

interface ChildNode extends Node {
    /**
     * Removes node.
     *
     * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/remove)
     */
    remove(): void;
 }

But should point to https://developer.mozilla.org/en-US/docs/Web/API/Element/remove

https:/microsoft/TypeScript-DOM-lib-generator/blob/6621974de7d3d03ade59760ea4b1cdb12698f492/baselines/dom.generated.d.ts#L5644-L5675

This looks like a bug in the emitter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant