修正 ApiManager 成員的靜態性
This commit is contained in:
@@ -2,7 +2,7 @@ import BaseApi from './BaseApi.ts'
|
|||||||
import HttpServerLike from '../types/HttpServerLike.ts'
|
import HttpServerLike from '../types/HttpServerLike.ts'
|
||||||
|
|
||||||
export default class ApiManager {
|
export default class ApiManager {
|
||||||
declare httpServer: HttpServerLike
|
static httpServer: HttpServerLike
|
||||||
static init(httpServer: HttpServerLike) {
|
static init(httpServer: HttpServerLike) {
|
||||||
this.httpServer = httpServer
|
this.httpServer = httpServer
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user