From f69b7f6a35864c9ca3c49e2290d4ec7a70ffb152 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 11 Mar 2026 10:50:10 -0700 Subject: [PATCH] properly type diagnosticController --- server/src/controllers/diagnosticController.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/controllers/diagnosticController.ts b/server/src/controllers/diagnosticController.ts index b4d59ceaf..19326d3b3 100755 --- a/server/src/controllers/diagnosticController.ts +++ b/server/src/controllers/diagnosticController.ts @@ -1,12 +1,13 @@ +import { IDiagnosticService } from "@/service/index.js"; import { Request, Response, NextFunction } from "express"; const SERVICE_NAME = "diagnosticController"; class DiagnosticController { static SERVICE_NAME = SERVICE_NAME; - private diagnosticService: any; + private diagnosticService: IDiagnosticService; - constructor(diagnosticService: any) { + constructor(diagnosticService: IDiagnosticService) { this.diagnosticService = diagnosticService; }