UNPKG

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.

20 lines (18 loc) 592 B
import type 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 }>; importMeta: { url: string; resolve: (url: string) => string; }; imports: Map<string, { [key: string]: any }>; exports: { [key: string]: any }; addCircularImportResolver: (resolver: () => void) => void; }) => Promise<void>; }