vijay06
Version:
awesome ngx mask
22 lines (18 loc) • 483 B
text/typescript
/* 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;