action_collection_helpers.ts view source
<TMethod extends keyof typeof ActionInputs>(method: TMethod, data: unknown): ActionInputs[TMethod] Parse action params with validation.
method
type
TMethoddata
type
unknownreturns
ActionInputs[TMethod]