From e6395483e29225270bfd545cbe6767fbcbc813a7 Mon Sep 17 00:00:00 2001 From: Florent Date: Sun, 25 Apr 2021 18:01:42 +0200 Subject: [PATCH] fix double import of ListenerRSSInfo in listener-rss --- src/listener-rss.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/listener-rss.ts b/src/listener-rss.ts index 97a5ca9..43e217d 100644 --- a/src/listener-rss.ts +++ b/src/listener-rss.ts @@ -1,8 +1,5 @@ import Parser from "rss-parser"; -import { - ListenerRSSInfos as ListenerInfo, - ListenerRSSInfos, -} from "./Models/ListenerRSSInfos"; +import { ListenerRSSInfos } from "./Models/ListenerRSSInfos"; import EventEmitter from "events"; const DEFAULT_TIMELOOP: number = 5 * 60; // default timeloop is 5 min @@ -26,7 +23,7 @@ export class ListenerRss extends EventEmitter { * @brief constructor * @param config ListenerRSSInfos interface who contains the ListenerInfos */ - constructor(config: ListenerInfo) { + constructor(config: ListenerRSSInfos) { super(); this.address = config.address;