types: fix createVNode dts generation
This commit is contained in:
parent
0831b98eac
commit
bfae9b2e55
@ -234,7 +234,9 @@ const createVNodeWithArgsTransform = (
|
||||
)
|
||||
}
|
||||
|
||||
export const createVNode = __DEV__ ? createVNodeWithArgsTransform : _createVNode
|
||||
export const createVNode = (__DEV__
|
||||
? createVNodeWithArgsTransform
|
||||
: _createVNode) as typeof _createVNode
|
||||
|
||||
function _createVNode(
|
||||
type: VNodeTypes | ClassComponent,
|
||||
|
Loading…
Reference in New Issue
Block a user