Merge pull request #3405 from bluewave-labs/fix/diagnostic-controller-types

fix: properly type diagnosticController
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-03-11 10:51:42 -07:00
commit 7a0e0bccf4
1 file changed
+3 -2
@@ -1,12 +1,13 @@
import { IDiagnosticService } from "@/service/index.js";
import { Request, Response, NextFunction } from "express"; import { Request, Response, NextFunction } from "express";
const SERVICE_NAME = "diagnosticController"; const SERVICE_NAME = "diagnosticController";
class DiagnosticController { class DiagnosticController {
static SERVICE_NAME = SERVICE_NAME; static SERVICE_NAME = SERVICE_NAME;
private diagnosticService: any; private diagnosticService: IDiagnosticService;
constructor(diagnosticService: any) { constructor(diagnosticService: IDiagnosticService) {
this.diagnosticService = diagnosticService; this.diagnosticService = diagnosticService;
} }