remove circular dep
This commit is contained in:
1 parent
5a74411ea2
commit
432d1d8ccf
11 files changed
+139
-153
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import type { GeoContinent, GeoCheckResult, GeoCheckTimings, GeoCheckLocation } from "@/types/geoCheck.js";
|
||||
import type Logger from "@/utils/logger.js";
|
||||
import type { ILogger } from "@/utils/logger.js";
|
||||
import got from "got";
|
||||
|
||||
const SERVICE_NAME = "GlobalPingService";
|
||||
@@ -57,9 +57,9 @@ export interface IGlobalPingService {
|
||||
class GlobalPingService implements IGlobalPingService {
|
||||
static SERVICE_NAME = SERVICE_NAME;
|
||||
|
||||
private logger: Logger;
|
||||
private logger: ILogger;
|
||||
|
||||
constructor({ logger }: { logger: Logger }) {
|
||||
constructor(logger: ILogger) {
|
||||
this.logger = logger;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user