-
Notifications
You must be signed in to change notification settings - Fork 15.8k
cloneNode should return sub type, not Node #283
Copy link
Copy link
Open
microsoft/TypeScript-DOM-lib-generator
#811Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this
When I do
someElement.cloneNode(), I want the returned element to be the same type assomeElement, but right now it's returning typeNode.