From 8b69d4e5000fc9bd5af76ce23fc44e5b6fe2925e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 10 Mar 2026 02:35:43 +0100 Subject: [PATCH] Fix --- packages/effect-fc/src/Memoized.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 => Predicate.hasProperty(u, TypeId) +export const isMemoized = (u: unknown): u is Memoized => Predicate.hasProperty(u, MemoizedTypeId) export const memoized = >( self: T