Allow static only classes and make Health.check() no longer async

This commit is contained in:
James Blair 2026-05-08 18:49:46 +12:00
parent 85da5b630f
commit c9ba6a6cc5
Signed by: james
SSH key fingerprint: SHA256:hsDR3ENI2ZMgh+CNb+0PrFsj29DI007R+BMKUVGi6zQ
3 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import { HealthModel } from "./model";
import type { HealthModel } from "./model";
export abstract class Health {
static async check() {
static check() {
return {
status: "ok",
} satisfies HealthModel["checkResponse"];