Evan You %!s(int64=9) %!d(string=hai) anos
pai
achega
4a66c3d7ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/platforms/web/compiler/index.js

+ 1 - 1
src/platforms/web/compiler/index.js

@@ -35,7 +35,7 @@ export function compile (
 export function compileToFunctions (
   template: string,
   options?: CompilerOptions,
-  vm: Component
+  vm?: Component
 ): CompiledFunctionResult {
   const _warn = (options && options.warn) || warn
   // detect possible CSP restriction