0.1.1 #2

Merged
Thilawyn merged 6 commits from next into master 2025-07-18 16:23:15 +02:00
Showing only changes of commit 19e74c1673 - Show all commits

View File

@@ -331,10 +331,10 @@ export const withOptions: {
export const withRuntime: {
<E, R, P extends {}>(
context: React.Context<Runtime.Runtime<R>>,
): (self: Component<E, R, P> & Suspense) => React.FC<P & SuspenseProps>
<E, R, P extends {}>(
context: React.Context<Runtime.Runtime<R>>,
): (self: Component<E, R, P>) => React.FC<P>
): {
(self: Component<E, R, P> & Suspense): React.FC<P & SuspenseProps>
(self: Component<E, R, P>): React.FC<P>
}
<E, R, P extends {}>(
self: Component<E, R, P> & Suspense,
context: React.Context<Runtime.Runtime<R>>,