TypeScript defs: module can actually take a Node