codigo0/backend/node_modules/bare-events/global.d.ts
planetazuzu 0201f16cf4
Some checks are pending
Auto Deploy to Server / deploy (push) Waiting to run
Update lab configuration 2026-03-22
2026-03-22 22:50:29 +01:00

16 lines
450 B
TypeScript
Executable file

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
}