result类型any

This commit is contained in:
Pan Qiancheng 2025-04-15 11:08:00 +08:00
parent bcb31324ff
commit f2cb5ec179
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ export class AppLoader<ED extends EntityDict & BaseEntityDict, Cxt extends Backe
endPointRouters.push(
[name, method, url, async (params, headers, req, body) => {
let result: string | NodeJS.ReadableStream
let result: any
if (type == "custom") {
result = await fn(() => this.makeContext(undefined, headers), params, headers, req, body);
} else {