Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-commonjs/dom/getWindow.d.ts

10 lines
427 B
TypeScript

/**
* Helper to get the window object. The helper will make sure to use a cached variable
* of "window", to avoid overhead and memory leaks in IE11. Note that in popup scenarios the
* window object won't match the "global" window object, and for these scenarios, you should
* pass in an element hosted within the popup.
*
* @public
*/
export declare function getWindow(rootElement?: Element | null): Window | undefined;