From 9f38ae64498412f819056b05c73376a0565b7c62 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; }