Skip to content

Commit

Permalink
feat(types): re-expose trasnformVNodeArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 5, 2020
1 parent c32ed52 commit 40166a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/runtime-core/src/vnode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ let vnodeArgsTransformer:
/**
* Internal API for registering an arguments transform for createVNode
* 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) {
vnodeArgsTransformer = transformer
Expand Down

0 comments on commit 40166a8

Please sign in to comment.