Skip to content

Commit 4a66c3d

Browse files
committed
fix flow
1 parent 5c6c8c7 commit 4a66c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/web/compiler/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function compile (
3535
export function compileToFunctions (
3636
template: string,
3737
options?: CompilerOptions,
38-
vm: Component
38+
vm?: Component
3939
): CompiledFunctionResult {
4040
const _warn = (options && options.warn) || warn
4141
// detect possible CSP restriction

0 commit comments

Comments
 (0)