aurelia-pal-nodejs
Version:
The Node.js-specific implementation of Aurelia's platform abstraction layer.
23 lines (22 loc) • 651 B
TypeScript
declare namespace NodeJS {
interface Global {
window: typeof window;
self: typeof window;
document: typeof Window.prototype.document;
Element: typeof Element;
NodeList: typeof NodeList;
SVGElement: typeof SVGElement;
HTMLElement: typeof HTMLElement;
requestAnimationFrame: typeof requestAnimationFrame;
location: typeof location;
history: typeof history;
System: {
import(moduleId: string): Promise<any>;
};
PAL: {
DOM: any;
PLATFORM: any;
FEATURE: any;
};
}
}