Type alias Provider<TBody, TSharer>
Provider<TBody, TSharer>: ((this: void, sharer: ComponentContext<TSharer>) => TBody | AfterEvent<[TBody]>)
Type Parameters
-
TBody = unknown
-
TSharer extends object = any
Type declaration
-
- (this: void, sharer: ComponentContext<TSharer>): TBody | AfterEvent<[TBody]>
-
Parameters
-
this: void
-
sharer: ComponentContext<TSharer>
Returns TBody | AfterEvent<[TBody]>
Shareable body type.