Skip to content

Commit e518081

Browse files
committed
fix typescript compilation errors
1 parent ac093af commit e518081

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/robotlegs/bender/extensions/signalCommandMap/impl/SignalCommandMap.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
inject,
1111
IInjector,
1212
IContext,
13-
ILogger,
1413
ICommandTrigger,
1514
ICommandMapper,
1615
ICommandUnmapper,
@@ -35,8 +34,6 @@ export class SignalCommandMap implements ISignalCommandMap {
3534

3635
private _triggerMap: CommandTriggerMap;
3736

38-
private _logger: ILogger;
39-
4037
/*============================================================================*/
4138
/* Constructor */
4239
/*============================================================================*/
@@ -46,7 +43,6 @@ export class SignalCommandMap implements ISignalCommandMap {
4643
*/
4744
constructor(@inject(IContext) context: IContext) {
4845
this._injector = context.injector;
49-
this._logger = context.getLogger(this);
5046
this._triggerMap = new CommandTriggerMap(this.getKey, this.createTrigger.bind(this));
5147
}
5248

src/robotlegs/bender/extensions/signalCommandMap/impl/SignalCommandTrigger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class SignalCommandTrigger implements ICommandTrigger {
9090
/* Private Functions */
9191
/*============================================================================*/
9292

93-
private routePayloadToCommands = (...valueObjects): void => {
93+
private routePayloadToCommands = (...valueObjects: any[]): void => {
9494
let valueClasses: any[] = valueObjects.map(obj => obj.constructor);
9595
let payload: CommandPayload = new CommandPayload(valueObjects, valueClasses);
9696
this._executor.executeCommands(this._mappings.getList(), payload);

0 commit comments

Comments
 (0)