Browse Source

Declare nativeCommandsSender explicitly

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