Fix typing issue
This commit is contained in:
parent
05b10c6448
commit
9f38ae6449
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export function processComputable<T, S extends keyof ComputableKeysOf<T>>(
|
|||
// @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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue