Fix
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-07-22 23:14:12 +02:00
parent 8ed88d54c3
commit 76b5ccd0e1
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ export const suspense = <T extends Component.Component<any, any, P>, P extends {
& Component.Component<Component.Component.Error<T>, Component.Component.Context<T>, P & Suspense.Props>
& Suspense
) => Object.setPrototypeOf(
{ ...self, ...SuspenseProto },
Object.assign(function() {}, self, SuspenseProto),
Object.getPrototypeOf(self),
)
@@ -69,6 +69,6 @@ export const withOptions: {
self: T,
options: Partial<Suspense.Options>,
): T => Object.setPrototypeOf(
{ ...self, ...options },
Object.assign(function() {}, self, options),
Object.getPrototypeOf(self),
))