修正 ApiManager 成員的靜態性

This commit is contained in:
CrescentLeaf
2025-08-16 15:30:39 +08:00
parent 71e23940c8
commit 1906ad8c07

View File

@@ -2,7 +2,7 @@ import BaseApi from './BaseApi.ts'
import HttpServerLike from '../types/HttpServerLike.ts'
export default class ApiManager {
declare httpServer: HttpServerLike
static httpServer: HttpServerLike
static init(httpServer: HttpServerLike) {
this.httpServer = httpServer
}