fix double import of ListenerRSSInfo in listener-rss

This commit is contained in:
Florent 2021-04-25 18:01:42 +02:00 committed by Florent F
parent 855880617d
commit e6395483e2

View File

@ -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;