Skip to main content
Module

x/deno_slack_hooks/utilities.ts>getDefaultExport

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Latest
function getDefaultExport
import { getDefaultExport } from "https://deno.land/x/deno_slack_hooks@1.3.0/utilities.ts";

Imports the provided file path and returns its default export. Throws an exception if the module has no default export.

Parameters

functionFilePath: string
  • Absolute file path to an importable ECMAScript module

Returns

Promise<any>