diff --git a/types/lib/utils/templatize.d.ts b/types/lib/utils/templatize.d.ts index 954394f5a3..bbde28ab8a 100644 --- a/types/lib/utils/templatize.d.ts +++ b/types/lib/utils/templatize.d.ts @@ -65,6 +65,14 @@ declare class TemplateInstanceBase extends * set to false to show them. */ _showHideChildren(hide: boolean): void; + + /** + * Stub of HTMLElement's `dispatchEvent`, so that effects that may + * dispatch events safely no-op. + * + * @param event {Event} Event to dispatch + */ + dispatchEvent(event: any): any; } declare namespace templateInfo {