Skip to content

Commit 405cdfd

Browse files
committed
MC-4014: PageBuilder Performance Is Bad With Minimal Content
- Fix dom observer type
1 parent b7eadfe commit 405cdfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/types/dom-observer.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
export interface DomObserver {
6+
declare var DomObserver: {
77
/**
88
* Disable a node from being observed by the mutations
99
*
@@ -38,7 +38,7 @@ export interface DomObserver {
3838
* @param {Function} [fn]
3939
*/
4040
off(selector: string, fn: () => void): void;
41-
}
41+
};
4242

4343
declare module "Magento_Ui/js/lib/view/utils/dom-observer" {
4444
export = DomObserver;

0 commit comments

Comments
 (0)