diff --git a/packages/effect-fc/src/Memoized.ts b/packages/effect-fc/src/Memoized.ts index bcffed0..7176643 100644 --- a/packages/effect-fc/src/Memoized.ts +++ b/packages/effect-fc/src/Memoized.ts @@ -7,7 +7,9 @@ import type * as Component from "./Component.js" export const MemoizedTypeId: unique symbol = Symbol.for("@effect-fc/Memoized/Memoized") export type MemoizedTypeId = typeof MemoizedTypeId -export interface Memoized
extends MemoizedOptions
{ +export interface Memoized
extends MemoizedPrototype, MemoizedOptions
{} + +export interface MemoizedPrototype { readonly [MemoizedTypeId]: MemoizedTypeId } @@ -16,7 +18,7 @@ export interface MemoizedOptions
{ } -export const MemoizedPrototype = Object.freeze({ +export const MemoizedPrototype: MemoizedPrototype = Object.freeze({ [MemoizedTypeId]: MemoizedTypeId, transformFunctionComponent
(