mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 02:01:35 +00:00
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:
parent
5c0c880a10
commit
524d185c4c
6
src/application-manager.d.ts
vendored
6
src/application-manager.d.ts
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user