Skip to content

Commit a42a43a

Browse files
committed
fix type
1 parent 55c7798 commit a42a43a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import type {
2-
InferActivityParams,
3-
RegisteredActivityName,
4-
} from "@stackflow/config";
51
import type { StaticActivityComponentType } from "../__internal__/StaticActivityComponentType";
62

7-
export type ActivityComponentType<ActivityName extends RegisteredActivityName> =
8-
StaticActivityComponentType<InferActivityParams<ActivityName>>;
3+
export type ActivityComponentType<T extends { [K in keyof T]: any } = {}> =
4+
StaticActivityComponentType<T>;

0 commit comments

Comments
 (0)