|
@@ -2,7 +2,7 @@ import html, { HTMLElement } from "node-html-parser";
|
|
|
import request from "request-promise-native";
|
|
|
import { db } from "../../db";
|
|
|
import { Response } from "request";
|
|
|
-import { INewsItem } from "./aggregator";
|
|
|
+import { INewsItem, IAggregator } from "./aggregator";
|
|
|
|
|
|
const kissDiaryRoot = "https://com3d2.world/r18/notices.php";
|
|
|
|
|
@@ -79,6 +79,6 @@ async function aggregate() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-module.exports = {
|
|
|
+export default {
|
|
|
aggregate: aggregate
|
|
|
-};
|
|
|
+} as IAggregator;
|