Deplacement de l'index de la racine vers le source

This commit is contained in:
Amaury
2021-04-18 16:16:15 +02:00
parent 37744733b4
commit b2f34a6b01
6 changed files with 14 additions and 13 deletions

2
src/index.ts Normal file
View File

@ -0,0 +1,2 @@
export { ListenerRss } from "./listener-rss";
export { ListenerRSSInfos } from "./Models/ListenerRSSInfos";

View File

@ -67,9 +67,9 @@ export class ListenerRss extends EventEmitter {
*/
start(): void {
this.loopRunning = true;
const fun: () => void = async () => {
await Promise.resolve(
await Promise.resolve(
await this.fetchRSS()
.then((obj: { [key: string]: any }) => {
this.emit("update", obj);

View File

@ -2,9 +2,5 @@
"extends": "../tsconfig.base.json",
"compilerOptions": {
"moduleResolution": "node"
},
"exclude": [
"build/",
"node_modules"
]
}
}