Removed all any ts types

This commit is contained in:
Nathan Kunicki 2018-06-20 14:41:02 +01:00
parent e169264d2d
commit 708c1f74b5
2 changed files with 3 additions and 3 deletions

4
hub.ts
View File

@ -20,8 +20,8 @@ export class Hub extends EventEmitter {
public type: Consts.Hubs = Consts.Hubs.UNKNOWN;
public uuid: string;
protected _ports: any = {};
protected _characteristics: any = {};
protected _ports: {[port: string]: Port} = {};
protected _characteristics: {[uuid: string]: Characteristic} = {};
private _peripheral: Peripheral;
private _rssi: number = -100;

View File

@ -35,7 +35,7 @@ export class LPF2 extends EventEmitter {
public autoSubscribe: boolean = true;
private _connectedDevices: any = {};
private _connectedDevices: {[uuid: string]: Hub} = {};
constructor () {