updating node.d.ts with generics on lib.d.ts