From 3b9cc5d3ac33710e7dc93e1480ed9613eaa0ce2a Mon Sep 17 00:00:00 2001 From: Perreal Guillaume <guillaume.perreal@irstea.fr> Date: Wed, 9 Oct 2019 11:29:26 +0200 Subject: [PATCH] Fixed linting errors. --- src/decorators/subscribe-on-init.decorator.spec.ts | 2 -- src/hooks.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/decorators/subscribe-on-init.decorator.spec.ts b/src/decorators/subscribe-on-init.decorator.spec.ts index 451a338..dd0b3e7 100644 --- a/src/decorators/subscribe-on-init.decorator.spec.ts +++ b/src/decorators/subscribe-on-init.decorator.spec.ts @@ -5,8 +5,6 @@ import { marbles } from 'rxjs-marbles/jasmine'; import { SubscribeOnInit } from './subscribe-on-init.decorator'; describe('@SubscribeOnInit', () => { - const VALUES = { a: 'a' }; - class PropertyTestClass<T extends Observable<any>> implements OnInit, OnDestroy { @SubscribeOnInit() diff --git a/src/hooks.ts b/src/hooks.ts index 27c6fd8..7fd32a1 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -3,7 +3,7 @@ */ type Hookable<K extends string | symbol, M extends (...args: any[]) => any> = { - [X in K]: M + [X in K]: M; }; function isHookable< -- GitLab