fix double import of ListenerRSSInfo in listener-rss
This commit is contained in:
parent
855880617d
commit
e6395483e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user