diff --git a/packages/server-test-utils/types/index.d.ts b/packages/server-test-utils/types/index.d.ts index a6d6e12ab..b526b588d 100644 --- a/packages/server-test-utils/types/index.d.ts +++ b/packages/server-test-utils/types/index.d.ts @@ -10,7 +10,7 @@ type VueClass = (new (...args: any[]) => V) & typeof Vue * If it is an array of string, the specified children are replaced by blank components */ type Stubs = { - [key: string]: Component | string | true + [key: string]: Component | string | boolean } | string[] /** diff --git a/packages/test-utils/types/index.d.ts b/packages/test-utils/types/index.d.ts index 89e29f028..4ba612c90 100644 --- a/packages/test-utils/types/index.d.ts +++ b/packages/test-utils/types/index.d.ts @@ -22,7 +22,7 @@ type Slots = { * If it is an array of string, the specified children are replaced by blank components */ type Stubs = { - [key: string]: Component | string | true + [key: string]: Component | string | boolean } | string[] /**