Generates a self-contained .d.ts from a Custom Elements Manifest: one
HTMLElement-extending interface per custom element plus an
HTMLElementTagNameMap augmentation, so document.querySelector('my-el')
and document.createElement('my-el') are correctly typed with no runtime
import. With { jsx: true } it also augments JSX.IntrinsicElements.
Generates a self-contained
.d.tsfrom a Custom Elements Manifest: oneHTMLElement-extending interface per custom element plus anHTMLElementTagNameMapaugmentation, sodocument.querySelector('my-el')anddocument.createElement('my-el')are correctly typed with no runtime import. With{ jsx: true }it also augmentsJSX.IntrinsicElements.