Microsoft/TypeScript

cloneNode should return sub type, not Node

Open

#283 aberto em 28 de jul. de 2014

Ver no GitHub
 (25 comments) (63 reactions) (0 assignees)TypeScript (6.726 forks)batch import
BugDomain: lib.d.tsHelp Wanted

Métricas do repositório

Stars
 (48.455 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)

Description

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.

Guia do colaborador