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

Add a flag to select that DOM is based on HTMLElement or (Plain)Element #32822

Closed
falsandtru opened this issue Aug 12, 2019 · 0 comments
Closed
Labels
Add a Flag Any problem can be solved by flags, except for the problem of having too many flags Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Suggestion An idea for TypeScript

Comments

@falsandtru
Copy link
Contributor

As parentElement type is HTMLElement instead of Element, some DOM definitions are intentionally incorrect. I think it should be selectable by tsconfig.json. I propose a compiler option like "dom": "HTML/Plain" or "lib": ["dom/dom.plain"].

related: #4689, #29052

@RyanCavanaugh RyanCavanaugh added Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Suggestion An idea for TypeScript Add a Flag Any problem can be solved by flags, except for the problem of having too many flags labels Aug 13, 2019
@RyanCavanaugh RyanCavanaugh closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add a Flag Any problem can be solved by flags, except for the problem of having too many flags Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants