types: fix tsx dts tests

This commit is contained in:
Evan You
2020-02-15 21:48:45 -05:00
parent 57ee5df364
commit 77103e1fd7
6 changed files with 12 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ import {
LifecycleHooks,
currentInstance
} from '../component'
import { VNode, cloneVNode, isVNode } from '../vnode'
import { VNode, cloneVNode, isVNode, VNodeProps } from '../vnode'
import { warn } from '../warning'
import { onBeforeUnmount, injectHook, onUnmounted } from '../apiLifecycle'
import { isString, isArray, ShapeFlags } from '@vue/shared'
@@ -218,7 +218,7 @@ const KeepAliveImpl = {
// also to avoid inline import() in generated d.ts files
export const KeepAlive = (KeepAliveImpl as any) as {
new (): {
$props: KeepAliveProps
$props: VNodeProps & KeepAliveProps
}
}