Evan You 9 lat temu
rodzic
commit
4a66c3d7ca
1 zmienionych plików z 1 dodań i 1 usunięć
  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