`/// <reference types="node" />` should be removed from `d.ts`, removing `@types/node` dependency should solve the issue.