From: Evan You Date: Wed, 11 Dec 2019 15:39:29 +0000 (-0500) Subject: chore: fix missed save X-Git-Tag: v3.0.0-alpha.0~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ecc77df5a94166f22d83502ba2cb158e9b0f7c7;p=thirdparty%2Fvuejs%2Fcore.git chore: fix missed save --- diff --git a/packages/runtime-core/src/apiOptions.ts b/packages/runtime-core/src/apiOptions.ts index a3aad5df36..80e158849f 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`.