From 355e179fbd7a41021bfcb5caa139e280d2890afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 3 Mar 2026 16:48:27 +0100 Subject: [PATCH] Fix --- packages/effect-fc/src/Async.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/effect-fc/src/Async.ts b/packages/effect-fc/src/Async.ts index 5ae3b91..53aebb6 100644 --- a/packages/effect-fc/src/Async.ts +++ b/packages/effect-fc/src/Async.ts @@ -50,7 +50,11 @@ export const AsyncPrototype: AsyncPrototype = Object.freeze({ export const isAsync = (u: unknown): u is Async => Predicate.hasProperty(u, AsyncTypeId) export const async = >( - self: T + self: T & ( + "promise" extends keyof Component.Component.Props + ? "'promise' prop name is reserved for Async components. Please rename the 'promise' prop to something else." + : T + ) ): ( & Omit> & Component.Component<