UNPKG

vijay06

Version:
22 lines (18 loc) 483 B
/* eslint-disable @typescript-eslint/no-explicit-any */ declare var global: any; const commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; (function () { if (!commonjsGlobal.KeyboardEvent) { commonjsGlobal.KeyboardEvent = function (_eventType: any, _init: any) {}; } })(); export type CustomKeyboardEvent = KeyboardEvent;