File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ import type {
22 InferActivityParams ,
33 RegisteredActivityName ,
44} from "@stackflow/config" ;
5- import type { ActivityComponentType as ActivityComponentTypeInternal } from "../__internal__/ActivityComponentType" ;
5+ import type { MonolithicActivityComponentType } from "../__internal__/MonolithicActivityComponentType" ;
6+ import type { StructuredActivityComponentType } from "../__internal__/StructuredActivityComponentType" ;
67
78export type ActivityComponentType < ActivityName extends RegisteredActivityName > =
8- ActivityComponentTypeInternal < InferActivityParams < ActivityName > > ;
9+ | MonolithicActivityComponentType < InferActivityParams < ActivityName > >
10+ | StructuredActivityComponentType < InferActivityParams < ActivityName > > ;
Original file line number Diff line number Diff line change 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 > > ;
You can’t perform that action at this time.
0 commit comments