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

Define a function and its input and output parameters for use in a Slack application.

type

<InputParameters extends ParameterSetDefinition, OutputParameters extends ParameterSetDefinition, RequiredInput extends PossibleParameterKeys<InputParameters>, RequiredOutput extends PossibleParameterKeys<OutputParameters>>(definition: FunctionDefinitionArgs<InputParameters, OutputParameters, RequiredInput, RequiredOutput>) => unknown