From 093c8f6b5be20ea8cf1b3836c8ecc4d8b29c2c37 Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Wed, 18 Feb 2026 19:08:17 -0500 Subject: [PATCH] fix(types): `bench.reporters` no longer gives type errors when passing file name string paths (#9695) --- packages/vitest/src/node/types/benchmark.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vitest/src/node/types/benchmark.ts b/packages/vitest/src/node/types/benchmark.ts index e3620aa7ee70..567f85e0025a 100644 --- a/packages/vitest/src/node/types/benchmark.ts +++ b/packages/vitest/src/node/types/benchmark.ts @@ -25,12 +25,12 @@ export interface BenchmarkUserOptions { includeSource?: string[] /** - * Custom reporter for output. Can contain one or more built-in report names, reporter instances, - * and/or paths to custom reporters + * Custom reporters to use for output. Can contain one or more built-in reporter names, reporter instances, + * and/or paths to custom reporter files to import. * * @default ['default'] */ - reporters?: Arrayable + reporters?: Arrayable /** * @deprecated Use `benchmark.outputJson` instead