Evan You vor 10 Jahren
Ursprung
Commit
4a66c3d7ca
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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