From 40166a8637a0f0272eb80777650398ccc067af88 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 5 May 2020 10:45:33 -0400 Subject: [PATCH] feat(types): re-expose trasnformVNodeArgs --- packages/runtime-core/src/vnode.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/runtime-core/src/vnode.ts b/packages/runtime-core/src/vnode.ts index e4107da78d8..108e516a0c6 100644 --- a/packages/runtime-core/src/vnode.ts +++ b/packages/runtime-core/src/vnode.ts @@ -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