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.
13 lines (11 loc) • 299 B
text/typescript
import type Location from '../../location/Location.js';
import type BrowserWindow from '../../window/BrowserWindow.js';
import type { URL } from 'url';
/**
* Module initialization options.
*/
export default interface IModuleInit {
window: BrowserWindow;
url: URL | Location;
source: string;
}