result类型any
This commit is contained in:
parent
bcb31324ff
commit
f2cb5ec179
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue