import { type Aleph } from "https://deno.land/x/aleph@v0.3.0-beta.12/types.d.ts";
An interface that aligns to the parts of the Aleph
class.
Methods
addModule(): Promise<Module>
specifier: string,
sourceCode: string,
forceRefresh?: boolean,
onResolve(test: RegExp, resolve: (specifier: string) => ResolveResult): void
onLoad(test: RegExp, load: (input: LoadInput) => LoadOutput | Promise<LoadOutput>): void
onTransform(test: "hmr" | "main" | RegExp, transform: (input: TransformInput) => TransformOutput | void | Promise<TransformOutput | void>): void
onRender(callback: (input: RenderOutput) => Promise<void> | void): void