Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
variable SlackFunction
import { SlackFunction } from "https://deno.land/x/deno_slack_sdk@1.1.0/functions/slack-function.ts";

type

<InputParameters extends ParameterSetDefinition, OutputParameters extends ParameterSetDefinition, RequiredInput extends PossibleParameterKeys<InputParameters>, RequiredOutput extends PossibleParameterKeys<OutputParameters>>(func: SlackFunctionDefinition<InputParameters, OutputParameters, RequiredInput, RequiredOutput>, functionHandler: SlackFunctionHandler<func.definition>) => unknown