From e441e4a01794acd695d4ba45eb5aac9612d71b92 Mon Sep 17 00:00:00 2001 From: syi0808 Date: Tue, 16 Jul 2024 00:59:33 +0900 Subject: [PATCH] fix: remove partial --- packages/vitest/src/types/mocker.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vitest/src/types/mocker.ts b/packages/vitest/src/types/mocker.ts index 5d0e8986b199..31b97a0c03df 100644 --- a/packages/vitest/src/types/mocker.ts +++ b/packages/vitest/src/types/mocker.ts @@ -1,9 +1,9 @@ export type MockFactoryWithHelper = ( - importOriginal: () => Promise -) => Partial> + importOriginal: () => Promise +) => Record | null export type PromiseMockFactoryWithHelper = ( - importOriginal: () => Promise -) => Promise>> + importOriginal: () => Promise +) => Promise> | null export type MockFactory = () => any export type MockMap = Map>