0.3.0 #50
@@ -102,11 +102,15 @@ extends Pipeable.Pipeable {
|
||||
readonly use: Effect.Effect<F, never, Exclude<R, Scope.Scope>>
|
||||
}
|
||||
|
||||
export const ComponentPrototype: ComponentPrototype<any, any> = Object.freeze({
|
||||
[ComponentTypeId]: ComponentTypeId,
|
||||
...Pipeable.Prototype,
|
||||
...ComponentImplPrototype,
|
||||
} as const)
|
||||
export const ComponentPrototype: ComponentPrototype<any, any> = Object.freeze(
|
||||
Object.defineProperties(
|
||||
{
|
||||
[ComponentTypeId]: ComponentTypeId,
|
||||
...Pipeable.Prototype,
|
||||
},
|
||||
Object.getOwnPropertyDescriptors(ComponentImplPrototype),
|
||||
) as ComponentPrototype<any, any>
|
||||
)
|
||||
|
||||
|
||||
export interface ComponentOptions {
|
||||
|
||||
Reference in New Issue
Block a user