fix(bun): import setTimeout/setInterval from "node:timers" for .unref() to correctly work

This commit is contained in:
Joakim Carlstein 2024-02-05 15:09:29 +01:00 committed by Joakim Carlstein
parent db656c2310
commit 543b7f6f77
4 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import { setInterval } from 'node:timers';
import { black, blueBright, bold, cyan, dim, faint, gray, green, red, redBright, yellow, yellowBright } from 'ansis';
import logUpdate from 'log-update';
import elegantSpinner from 'elegant-spinner';