Generalize methods returning Node type #14863
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
All methods returning the node type value should return their actual type, like #283(cloneNode) and #12048(appendChild).
TypeScript Version: master
Expected behavior:
e.g.
Actual behavior:
The text was updated successfully, but these errors were encountered: