hmr-components.d.ts 547 B

123456789101112
  1. /**
  2. * Perform Hot Module Replacement for a given Stencil component (identified
  3. * uniquely via its tag name) in the DOM tree rooted at a given starting
  4. * element.
  5. *
  6. * @param element the root element within which to do Hot Module Replacement
  7. * @param versionId the current HMR version ID
  8. * @param hmrTagNames an out param containing a list of updated Stencil
  9. * component tag names
  10. * @returns a reference to the tag name array
  11. */
  12. export declare const hmrComponents: (element: Element, versionId: string, hmrTagNames: string[]) => string[];