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 -1
View File
@@ -10,6 +10,7 @@ export type TypeId = typeof TypeId
export interface Component<E, R, P extends {}> extends Pipeable.Pipeable, Component.Options {
new(_: never): {}
readonly [TypeId]: TypeId
/** @internal */
makeFunctionComponent(runtimeRef: React.Ref<Runtime.Runtime<Exclude<R, Scope.Scope>>>, scope: Scope.Scope): React.FC<P>
readonly body: (props: P) => Effect.Effect<React.ReactNode, E, R>
}
@@ -327,7 +328,7 @@ export const withOptions: {
self: T,
options: Partial<Component.Options>,
): T => Object.setPrototypeOf(
{ ...self, ...options },
Object.assign(function() {}, self, options),
Object.getPrototypeOf(self),
))