feat(types): re-expose trasnformVNodeArgs

This commit is contained in:
Evan You 2020-05-05 10:45:33 -04:00
parent c32ed52b97
commit 40166a8637

View File

@ -253,7 +253,8 @@ let vnodeArgsTransformer:
/** /**
* Internal API for registering an arguments transform for createVNode * Internal API for registering an arguments transform for createVNode
* used for creating stubs in the test-utils * used for creating stubs in the test-utils
* @internal * It is *internal* but needs to be exposed for test-utils to pick up proper
* typings
*/ */
export function transformVNodeArgs(transformer?: typeof vnodeArgsTransformer) { export function transformVNodeArgs(transformer?: typeof vnodeArgsTransformer) {
vnodeArgsTransformer = transformer vnodeArgsTransformer = transformer