fix: 编译库代码

This commit is contained in:
2025-02-05 01:40:07 +08:00
parent 8795337a11
commit 4cb0d7cdad
2 changed files with 196 additions and 194 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { default as Koa } from 'koa';
export default CreateServer;
/**
* 创建服务
* port: 服务端口号
*/
declare function CreateServer(port?: number): void;
declare function CreateServer(port?: number): Promise<Koa<Koa.DefaultState, Koa.DefaultContext>>;