diff --git a/packages/effect-fc/src/Memoized.ts b/packages/effect-fc/src/Memoized.ts index 33be421..bcffed0 100644 --- a/packages/effect-fc/src/Memoized.ts +++ b/packages/effect-fc/src/Memoized.ts @@ -4,11 +4,11 @@ import * as React from "react" import type * as Component from "./Component.js" -export const TypeId: unique symbol = Symbol.for("@effect-fc/Memoized/Memoized") -export type TypeId = typeof TypeId +export const MemoizedTypeId: unique symbol = Symbol.for("@effect-fc/Memoized/Memoized") +export type MemoizedTypeId = typeof MemoizedTypeId export interface Memoized
extends MemoizedOptions
{ - readonly [TypeId]: TypeId + readonly [MemoizedTypeId]: MemoizedTypeId } export interface MemoizedOptions
{ @@ -17,7 +17,7 @@ export interface MemoizedOptions
{ export const MemoizedPrototype = Object.freeze({ - [TypeId]: TypeId, + [MemoizedTypeId]: MemoizedTypeId, transformFunctionComponent
( this: Memoized
,
@@ -28,7 +28,7 @@ export const MemoizedPrototype = Object.freeze({
} as const)
-export const isMemoized = (u: unknown): u is Memoized