happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
15 lines (13 loc) • 443 B
text/typescript
import IECMAScriptModuleImport from './IECMAScriptModuleImport.js';
export default interface IECMAScriptModuleCompiledResult {
imports: IECMAScriptModuleImport[];
execute: (options: {
dispatchError: (error: Error) => void;
dynamicImport: (
url: string,
options?: { with?: { type?: string } }
) => Promise<{ [key: string]: any }>;
imports: Map<string, { [key: string]: any }>;
exports: { [key: string]: any };
}) => void;
}