Variable CustomEvent

    CustomEvent: {
        prototype: CustomEvent<any>;
        new <T>(type: string, eventInitDict?: CustomEventInit<T>): CustomEvent<T>;
    }