We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92f11d6 commit 3007d5bCopy full SHA for 3007d5b
packages/runtime-core/src/components/KeepAlive.ts
@@ -43,7 +43,7 @@ import { ComponentRenderContext } from '../componentPublicInstance'
43
import { devtoolsComponentAdded } from '../devtools'
44
import { isAsyncWrapper } from '../apiAsyncComponent'
45
46
-type MatchPattern = string | RegExp | string[] | RegExp[]
+type MatchPattern = string | RegExp | (string | RegExp)[]
47
48
export interface KeepAliveProps {
49
include?: MatchPattern
0 commit comments