UNPKG

ngx-bootstrap

Version:
26 lines 1.02 kB
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * JS version of browser APIs. This library can only run in the browser. */ // eslint-disable-next-line @typescript-eslint/no-explicit-any const win = (typeof window !== 'undefined' && window) || {}; export { win as window }; export const document = win.document; export const location = win.location; // eslint-disable-next-line @typescript-eslint/no-explicit-any export const gc = win.gc ? () => win.gc() : () => null; export const performance = win.performance ? win.performance : null; export const Event = win.Event; export const MouseEvent = win.MouseEvent; export const KeyboardEvent = win.KeyboardEvent; export const EventTarget = win.EventTarget; export const History = win.History; export const Location = win.Location; export const EventListener = win.EventListener; //# sourceMappingURL=browser.js.map