mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
Fix typing issue
This commit is contained in:
parent
1d611b9af7
commit
f4bba2e44b
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