Files
CATALOGO_INFINITY/backend/node_modules/bare-events/global.d.ts
T
2026-06-09 08:25:57 -05:00

16 lines
450 B
TypeScript

import * as events from './web'
type EventConstructor = typeof events.Event
type CustomEventConstructor = typeof events.CustomEvent
type EventTargetConstructor = typeof events.EventTarget
declare global {
type Event = events.Event
type CustomEvent<T = any> = events.CustomEvent<T>
type EventTarget = events.EventTarget
const Event: EventConstructor
const CustomEvent: CustomEventConstructor
const EventTarget: EventTargetConstructor
}