declare namespace java {
    namespace awt {
        // @ts-ignore
        interface ActiveEvent {
            /**
             * Dispatch the event to its target, listeners of the events source,
             * or do whatever it is this event is supposed to do.
             */
            // @ts-ignore
             dispatch(): void;
        }
    }
}
