Correctly type service-manager logger and event tracker fields

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
Cameron Diver 2018-10-09 12:01:05 +01:00
parent 5c0c880a10
commit 524d185c4c
No known key found for this signature in database
GPG Key ID: 69264F9C923F55C1

View File

@ -2,6 +2,8 @@ import { EventEmitter } from 'events';
import { ServiceAction } from './device-api/common';
import { DeviceApplicationState } from './types/state';
import { Logger } from './logger';
import { EventTracker } from './event-tracker';
import Images = require('./compose/images');
import ServiceManager = require('./compose/service-manager');
@ -31,9 +33,9 @@ export class ApplicationManager extends EventEmitter {
// TODO: When the module which is/declares these fields is converted to
// typecript, type the following
public _lockingIfNecessary: any;
public logger: any;
public logger: Logger;
public deviceState: any;
public eventTracker: any;
public eventTracker: EventTracker;
public services: ServiceManager;
public db: DB;