type alias ModuleImporter
Since 0.1.0

Loads a module from a specifier. Defaults to the global dynamic import; injectable for tests.

Definition

(specifier: string) => Promise<unknown>

Usage

import { type ModuleImporter } from "decorator-plugin/src/index.ts";