]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix missed save
authorEvan You <yyx990803@gmail.com>
Wed, 11 Dec 2019 15:39:29 +0000 (10:39 -0500)
committerEvan You <yyx990803@gmail.com>
Wed, 11 Dec 2019 15:39:29 +0000 (10:39 -0500)
packages/runtime-core/src/apiOptions.ts

index a3aad5df365ac9884d39ba67034c2f37e6286ac6..80e158849f1fc33fd2c0f8402796a0627d0d191e 100644 (file)
@@ -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`.