Fix
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-07-17 16:59:47 +02:00
parent 1317baf7ac
commit fc4e934a71

View File

@@ -280,7 +280,7 @@ export namespace Memoized {
export const memo = <T extends Component<any, any, any>>( export const memo = <T extends Component<any, any, any>>(
self: ExcludeKeys<T, keyof Memoized<Component.Props<T>>> self: ExcludeKeys<T, keyof Memoized<Component.Props<T>>>
): T & Memoized<Component.Props<T>> => Object.setPrototypeOf( ): T & Memoized<Component.Props<T>> => Object.setPrototypeOf(
{ ...self, memo: true }, { ...self, memo: true, memoOptions: {} },
Object.getPrototypeOf(self), Object.getPrototypeOf(self),
) )