sindresorhus / p-timeout

Timeout a promise after a specified amount of time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

type customTimers is not compatible with latest @types/node

opened this issue · comments

error TS2741: Property '__promisify__' is missing in type '(fn: any, milliseconds: any) => Timeout' but required in type 'typeof setTimeout'.

Similar type error with umijs/qiankun#47.

I'm unable to reproduce this. I'm happy to look further into it if you submit a failing type test.