/** * @module seng-event/lib/eventHasType */ import BaseEvent from './BaseEvent'; /** * Checks if the given [[BaseEvent]] has a the given type and if so, * asserts to the compiler that it is a [[BaseEvent]] with that specific type * as the `type` property. * @param event The event to check * @param type A string literal `type` */ declare function eventHasType(event: BaseEvent, type: TType): event is BaseEvent; export default eventHasType;