piral-base
Version:
The base library for creating a Piral instance.
9 lines (8 loc) • 468 B
TypeScript
import type { PiletV1Entry } from '../../types';
/**
* Includes the given single pilet script via its URL with a dependency resolution.
* @param entry The data of the dependency to include.
* @param crossOrigin The override for the cross-origin attribute.
* @returns The evaluated module.
*/
export declare function includeDependency(entry: PiletV1Entry, crossOrigin?: string): Promise<import("../../types").SinglePiletApp | import("../../types").MultiPiletApp>;