From e975b5729fbd519fe1dec2c8f9e40f75bdba2251 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 19 Dec 2023 14:55:27 +0100 Subject: [PATCH] types: use satisfies for defaults (#4738) --- packages/vitest/src/defaults.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vitest/src/defaults.ts b/packages/vitest/src/defaults.ts index cbc5570ffdd9..35615a5636f2 100644 --- a/packages/vitest/src/defaults.ts +++ b/packages/vitest/src/defaults.ts @@ -101,6 +101,6 @@ const config = { exclude: defaultExclude, }, slowTestThreshold: 300, -} +} satisfies UserConfig -export const configDefaults: Required> = Object.freeze(config) +export const configDefaults = Object.freeze(config)