From 5ecc77df5a94166f22d83502ba2cb158e9b0f7c7 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 11 Dec 2019 10:39:29 -0500 Subject: [PATCH] chore: fix missed save --- packages/runtime-core/src/apiOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/apiOptions.ts b/packages/runtime-core/src/apiOptions.ts index a3aad5df..80e15884 100644 --- a/packages/runtime-core/src/apiOptions.ts +++ b/packages/runtime-core/src/apiOptions.ts @@ -55,7 +55,7 @@ export interface ComponentOptionsBase< ctx: SetupContext ) => RawBindings | RenderFunction | void name?: string - template?: string + template?: string | object // can be a direct DOM node // Note: we are intentionally using the signature-less `Function` type here // since any type with signature will cause the whole inference to fail when // the return expression contains reference to `this`.