From f4bba2e44b7fb9ed7843c34e52174a83ebe257ea Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 8 Nov 2022 10:07:19 -0600 Subject: [PATCH] Fix typing issue --- src/util/computed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/computed.ts b/src/util/computed.ts index 59db8ab..c940b1a 100644 --- a/src/util/computed.ts +++ b/src/util/computed.ts @@ -38,7 +38,7 @@ export function processComputable>( // @ts-ignore obj[key] = computed(computable.bind(obj)); } else if (isFunction(computable)) { - obj[key] = computable.bind(obj) as T[S]; + obj[key] = computable.bind(obj) as unknown as T[S]; // eslint-disable-next-line @typescript-eslint/no-explicit-any (obj[key] as any)[DoNotCache] = true; }