mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
c55fbcb8ed
* feat(webapi): Remove unnecessary polyfills now that we dropped support for Node 14 * feat(webapi): Removed more unnecessary polyfills for Node 16 * chore: changeset
26 lines
740 B
TypeScript
26 lines
740 B
TypeScript
export const inheritance = {
|
|
CSSStyleSheet: 'StyleSheet',
|
|
CustomEvent: 'Event',
|
|
DOMException: 'Error',
|
|
Document: 'Node',
|
|
DocumentFragment: 'Node',
|
|
Element: 'Node',
|
|
HTMLDocument: 'Document',
|
|
HTMLElement: 'Element',
|
|
HTMLBodyElement: 'HTMLElement',
|
|
HTMLCanvasElement: 'HTMLElement',
|
|
HTMLDivElement: 'HTMLElement',
|
|
HTMLHeadElement: 'HTMLElement',
|
|
HTMLHtmlElement: 'HTMLElement',
|
|
HTMLImageElement: 'HTMLElement',
|
|
HTMLSpanElement: 'HTMLElement',
|
|
HTMLStyleElement: 'HTMLElement',
|
|
HTMLTemplateElement: 'HTMLElement',
|
|
HTMLUnknownElement: 'HTMLElement',
|
|
Image: 'HTMLElement',
|
|
MediaQueryList: 'EventTarget',
|
|
Node: 'EventTarget',
|
|
OffscreenCanvas: 'EventTarget',
|
|
ShadowRoot: 'DocumentFragment',
|
|
Window: 'EventTarget',
|
|
} as const
|