Skip to content

Commit

Permalink
fix: update required field to implement NodeJS.Timeout (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Chen committed Oct 21, 2020
1 parent 721fce0 commit 6b7371b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/src/backoff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ export function setTimeoutHandler(
unref: () => {
throw new Error('For tests only. Not Implemented');
},
[Symbol.toPrimitive]: () => {
throw new Error('For tests only. Not Implemented');
},
};
return timeout;
};
Expand Down

0 comments on commit 6b7371b

Please sign in to comment.