Microsoft/TypeScript

cloneNode should return sub type, not Node

Open

#283 创建于 2014年7月28日

在 GitHub 查看
 (25 评论) (63 反应) (0 负责人)TypeScript (48,455 star) (6,726 fork)batch import
BugDomain: lib.d.tsHelp Wanted

描述

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.

贡献者指南

cloneNode should return sub type, not Node · Microsoft/TypeScript#283 | Good First Issue