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;