0.2.4 #38

Merged
Thilawyn merged 44 commits from next into master 2026-03-16 00:30:17 +01:00
Showing only changes of commit 9b3ce62d3e - Show all commits

View File

@@ -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<P> extends MemoizedOptions<P> {
export interface Memoized<P> extends MemoizedPrototype, MemoizedOptions<P> {}
export interface MemoizedPrototype {
readonly [MemoizedTypeId]: MemoizedTypeId
}
@@ -16,7 +18,7 @@ export interface MemoizedOptions<P> {
}
export const MemoizedPrototype = Object.freeze({
export const MemoizedPrototype: MemoizedPrototype = Object.freeze({
[MemoizedTypeId]: MemoizedTypeId,
transformFunctionComponent<P extends {}>(