diff --git a/packages/effect-fc/src/Component.ts b/packages/effect-fc/src/Component.ts index 0398dac..5e74bf6 100644 --- a/packages/effect-fc/src/Component.ts +++ b/packages/effect-fc/src/Component.ts @@ -4,8 +4,8 @@ import { Context, type Duration, Effect, Equivalence, ExecutionStrategy, Exit, F import * as React from "react" -export const TypeId: unique symbol = Symbol.for("@effect-fc/Component/Component") -export type TypeId = typeof TypeId +export const ComponentTypeId: unique symbol = Symbol.for("@effect-fc/Component/Component") +export type ComponentTypeId = typeof ComponentTypeId /** * Represents an Effect-based React Component that integrates the Effect system with React. @@ -13,7 +13,7 @@ export type TypeId = typeof TypeId export interface Component
extends ComponentPrototype
, ComponentOptions {
new(_: never): Record
extends Pipeable.Pipeable {
- readonly [TypeId]: TypeId
+ readonly [ComponentTypeId]: ComponentTypeId
readonly use: Effect.Effect<(props: P) => A, never, Exclude