fix: fix h signature for suspense

This commit is contained in:
Evan You
2019-10-29 14:04:44 -04:00
parent ea2e2ce5bd
commit 083296ead6
3 changed files with 25 additions and 9 deletions

View File

@@ -25,7 +25,9 @@ export const Portal = Symbol(__DEV__ ? 'Portal' : undefined)
export const Text = Symbol(__DEV__ ? 'Text' : undefined)
export const Comment = Symbol(__DEV__ ? 'Comment' : undefined)
const Suspense = __FEATURE_SUSPENSE__ ? SuspenseImpl : null
const Suspense = (__FEATURE_SUSPENSE__
? SuspenseImpl
: null) as typeof SuspenseImpl
export { Suspense }
export type VNodeTypes =