Browse Source

Declare nativeCommandsSender explicitly

Guy Carmeli 7 years ago
parent
commit
e36c4b0e8d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      lib/src/commands/Commands.ts

+ 2
- 1
lib/src/commands/Commands.ts View File

1
 import * as _ from 'lodash';
1
 import * as _ from 'lodash';
2
 import { CommandsObserver } from '../events/CommandsObserver';
2
 import { CommandsObserver } from '../events/CommandsObserver';
3
+import { NativeCommandsSender } from '../adapters/NativeCommandsSender';
3
 
4
 
4
 export class Commands {
5
 export class Commands {
5
   constructor(
6
   constructor(
6
-    private readonly nativeCommandsSender,
7
+    private readonly nativeCommandsSender: NativeCommandsSender,
7
     private readonly layoutTreeParser,
8
     private readonly layoutTreeParser,
8
     private readonly layoutTreeCrawler,
9
     private readonly layoutTreeCrawler,
9
     private readonly commandsObserver: CommandsObserver) {
10
     private readonly commandsObserver: CommandsObserver) {