Microsoft/TypeScript

cloneNode should return sub type, not Node

Open

#283 aperta il 28 lug 2014

Vedi su GitHub
 (25 commenti) (63 reazioni) (0 assegnatari)TypeScript (6726 fork)batch import
BugDomain: lib.d.tsHelp Wanted

Metriche repository

Star
 (48.455 star)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

When I do someElement.cloneNode(), I want the returned element to be the same type as someElement, but right now it's returning type Node.

Guida contributor