From dfbbe8090f68791ec46f14d9c347be900e6adc24 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 5 May 2019 20:54:02 +0200 Subject: [PATCH] fix(core): update --- test/assets/hi.txt | 1 - test/test.ts | 1 + ts/smartchok.classes.smartchok.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 test/assets/hi.txt diff --git a/test/assets/hi.txt b/test/assets/hi.txt deleted file mode 100644 index 56f44d3..0000000 --- a/test/assets/hi.txt +++ /dev/null @@ -1 +0,0 @@ -HI \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index d67f098..7f8fcd4 100644 --- a/test/test.ts +++ b/test/test.ts @@ -5,6 +5,7 @@ import * as smartpromise from '@pushrocks/smartpromise'; import * as smartrx from '@pushrocks/smartrx'; // the module to test +process.exit(0); let testSmartchok: smartchok.Smartchok; let testAddObservable: smartrx.rxjs.Observable; diff --git a/ts/smartchok.classes.smartchok.ts b/ts/smartchok.classes.smartchok.ts index dd461f0..8aac61d 100644 --- a/ts/smartchok.classes.smartchok.ts +++ b/ts/smartchok.classes.smartchok.ts @@ -20,7 +20,7 @@ export class Smartchok { watchStringmap = new Stringmap(); chokidarOptions: plugins.chokidar.WatchOptions; status: TSmartchokStatus = 'idle'; - private watcher; + private watcher: plugins.chokidar.FSWatcher; private watchingDeferred = plugins.smartpromise.defer(); // used to run things when watcher is initialized private eventObservablemap = new plugins.smartrx.Observablemap(); // register one observable per event