···11+diff --git a/index.d.ts b/index.d.ts
22+index 5aa018cde4336aca4dadefb8338549c378792e14..2e0c38efc15e793dc37e401e2513016247058f37 100644
33+--- a/index.d.ts
44++++ b/index.d.ts
55+@@ -329,13 +329,15 @@ export interface FakeTimerInstallOpts {
66+ now?: number | Date | undefined;
77+88+ /**
99+- * An array with names of global methods and APIs to fake. By default, `@sinonjs/fake-timers` does not replace `nextTick()` and `queueMicrotask()`.
1010+- * For instance, `FakeTimers.install({ toFake: ['setTimeout', 'nextTick'] })` will fake only `setTimeout()` and `nextTick()`
1111++ * An array with names of global methods and APIs to fake.
1212++ * For instance, `vi.useFakeTimer({ toFake: ['setTimeout', 'performance'] })` will fake only `setTimeout()` and `performance.now()`
1313++ * @default ['setTimeout', 'clearTimeout', 'setImmediate', 'clearImmediate', 'setInterval', 'clearInterval', 'Date']
1414+ */
1515+ toFake?: FakeMethod[] | undefined;
1616+1717+ /**
1818+- * The maximum number of timers that will be run when calling runAll() (default: 1000)
1919++ * The maximum number of timers that will be run when calling runAll()
2020++ * @default 10000
2121+ */
2222+ loopLimit?: number | undefined;
2323+2424+@@ -352,8 +354,8 @@ export interface FakeTimerInstallOpts {
2525+ advanceTimeDelta?: number | undefined;
2626+2727+ /**
2828+- * Tells FakeTimers to clear 'native' (i.e. not fake) timers by delegating to their respective handlers. These are not cleared by
2929+- * default, leading to potentially unexpected behavior if timers existed prior to installing FakeTimers. (default: false)
3030++ * Tells FakeTimers to clear 'native' (i.e. not fake) timers by delegating to their respective handlers.
3131++ * @default true
3232+ */
3333+ shouldClearNativeTimers?: boolean | undefined;
3434+ }
+1-1
docs/api/vi.md
···738738739739- **Type:** `(config?: FakeTimerInstallOpts) => Vitest`
740740741741-To enable mocking timers, you need to call this method. It will wrap all further calls to timers (such as `setTimeout`, `setInterval`, `clearTimeout`, `clearInterval`, `nextTick`, `setImmediate`, `clearImmediate`, and `Date`), until [`vi.useRealTimers()`](#vi-userealtimers) is called.
741741+To enable mocking timers, you need to call this method. It will wrap all further calls to timers (such as `setTimeout`, `setInterval`, `clearTimeout`, `clearInterval`, `setImmediate`, `clearImmediate`, and `Date`) until [`vi.useRealTimers()`](#vi-userealtimers) is called.
742742743743Mocking `nextTick` is not supported when running Vitest inside `node:child_process` by using `--pool=forks`. NodeJS uses `process.nextTick` internally in `node:child_process` and hangs when it is mocked. Mocking `nextTick` is supported when running Vitest with `--pool=threads`.
744744
+3-2
docs/config/index.md
···2046204620472047#### fakeTimers.toFake
2048204820492049-- **Type:** `FakeMethod[]`
20492049+- **Type:** `('setTimeout' | 'clearTimeout' | 'setImmediate' | 'clearImmediate' | 'setInterval' | 'clearInterval' | 'Date' | 'nextTick' | 'hrtime' | 'requestAnimationFrame' | 'cancelAnimationFrame' | 'requestIdleCallback' | 'cancelIdleCallback' | 'performance' | 'queueMicrotask')[]`
20502050+- **Default:** `['setTimeout', 'clearTimeout', 'setImmediate', 'clearImmediate', 'setInterval', 'clearInterval', 'Date']`
2050205120512051-An array with names of global methods and APIs to fake. By default, Vitest does not replace `nextTick()` and `queueMicrotask()`.
20522052+An array with names of global methods and APIs to fake.
2052205320532054To only mock `setTimeout()` and `nextTick()`, specify this property as `['setTimeout', 'nextTick']`.
20542055