types: fix Transition exported typing

This commit is contained in:
Evan You
2019-11-21 10:21:09 -05:00
parent 79f23a2f77
commit 21c41b3228
3 changed files with 24 additions and 7 deletions

View File

@@ -210,6 +210,7 @@ const KeepAliveImpl = {
}
// export the public type for h/tsx inference
// also to avoid inline import() in generated d.ts files
export const KeepAlive = (KeepAliveImpl as any) as {
new (): {
$props: KeepAliveProps