Fix
All checks were successful
Lint / lint (push) Successful in 42s

This commit is contained in:
Julien Valverdé
2026-03-05 11:39:51 +01:00
parent 355e179fbd
commit dbe42aadb1

View File

@@ -52,7 +52,7 @@ export const isAsync = (u: unknown): u is Async => Predicate.hasProperty(u, Asyn
export const async = <T extends Component.Component<any, any, any, any>>(
self: T & (
"promise" extends keyof Component.Component.Props<T>
? "'promise' prop name is reserved for Async components. Please rename the 'promise' prop to something else."
? "The 'promise' prop name is restricted for Async components. Please rename the 'promise' prop to something else."
: T
)
): (