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.
21 lines • 411 B
TypeScript
/**
* Module interface.
*/
export default interface IModule {
url: URL;
/**
* Compiles and evaluates the module.
*
* @returns Module exports.
*/
evaluate(): Promise<{
[key: string]: any;
}>;
/**
* Compiles and preloads the module and its imports.
*
* @returns Promise.
*/
preload(): Promise<void>;
}
//# sourceMappingURL=IModule.d.ts.map