Skip to content

ExternalFunction

The function form of ExternalLike. Its result is read for truthiness, as rollup and rolldown read it.

Import:

import type { ExternalFunction } from '@mnaoumov/obsidian-dev-toolkit/bundlers/rollup-compatible';

Signature:

export type ExternalFunction

Signature:

type ExternalFunction = (source: string, importer: string | undefined, isResolved: boolean) => unknown

Type: (source: string, importer: string | undefined, isResolved: boolean) => unknown


Links to this page: