From 2ffd31b640391e3d38d394211fe6d3ee0d01cea4 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sun, 9 Jun 2019 17:24:10 -0400 Subject: [PATCH] appease the gods of typescript --- src/runtime/internal/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/internal/utils.ts b/src/runtime/internal/utils.ts index 8e7a20db87..152c0e79b0 100644 --- a/src/runtime/internal/utils.ts +++ b/src/runtime/internal/utils.ts @@ -83,7 +83,7 @@ export function exclude_internal_props(props) { export function once(fn) { let ran = false; - return function(...args) { + return function(this: any, ...args) { if (ran) return; ran = true; fn.call(this, ...args);