import { IContext } from "../../framework/api/IContext" ; import { IExtension } from "../../framework/api/IExtension" ; import { IEventCommandMap } from "./api/IEventCommandMap" ; import { EventCommandMap } from "./impl/EventCommandMap" ; /**
 * The Event Command Map allows you to bind Events to Commands
 */ export class EventCommandMapExtension implements IExtension { inheritDoc public extend ( context ) { context . injector . bind ( IEventCommandMap ) . to ( EventCommandMap ) . inSingletonScope ( ) ; } }