/// declare module goog.events { class EventId extends EventId__Class { } /** Fake class which should be extended to avoid inheriting static properties */ class EventId__Class { /** * A templated class that is used when registering for events. Typical usage: * * /** @type {goog.events.EventId.} * var myEventId = new goog.events.EventId( * goog.events.getUniqueId(('someEvent')); * * // No need to cast or declare here since the compiler knows the correct * // type of 'evt' (MyEventObj). * something.listen(myEventId, function(evt) {}); * * * @param {string} eventId * @template T * @constructor * @struct * @final */ constructor(eventId: string); /** @const */ id: any /*missing*/; } }