basalt / activity/src / activityRule
Function: activityRule()
> activityRule<K>(rule): ActivityRule
Defined in: activity/src/index.ts:137
Type-checks a rule against its hook, then erases the generic.
Type Parameters
K
K extends string
Parameters
rule
ActivityRule<K>