From daa82f2a0441608f9bc56fdff235db829ff3bfe7 Mon Sep 17 00:00:00 2001 From: Michael Gira Date: Wed, 26 Jul 2017 01:44:12 -0500 Subject: [PATCH] Fix linting issues --- src/crazyflie/logging.ts | 2 +- src/crazyflie/parameters.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crazyflie/logging.ts b/src/crazyflie/logging.ts index ee17b4a..508f68a 100644 --- a/src/crazyflie/logging.ts +++ b/src/crazyflie/logging.ts @@ -65,7 +65,7 @@ export class Logging extends EventEmitter { * Required before getting any logging data! */ - getTOC() { + getTOC(): Promise { return this.tocFetcher.start(); } diff --git a/src/crazyflie/parameters.ts b/src/crazyflie/parameters.ts index 1e71416..a0eded5 100644 --- a/src/crazyflie/parameters.ts +++ b/src/crazyflie/parameters.ts @@ -54,7 +54,7 @@ export class Parameters extends EventEmitter { * Required before getting any logging data! */ - getTOC() { + getTOC(): Promise { return this.tocFetcher.start(); }