We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55c7798 commit a42a43aCopy full SHA for a42a43a
integrations/react/src/stable/ActivityComponentType.tsx
@@ -1,8 +1,4 @@
1
-import type {
2
- InferActivityParams,
3
- RegisteredActivityName,
4
-} from "@stackflow/config";
5
import type { StaticActivityComponentType } from "../__internal__/StaticActivityComponentType";
6
7
-export type ActivityComponentType<ActivityName extends RegisteredActivityName> =
8
- StaticActivityComponentType<InferActivityParams<ActivityName>>;
+export type ActivityComponentType<T extends { [K in keyof T]: any } = {}> =
+ StaticActivityComponentType<T>;
0 commit comments