diff --git a/src/AppLoader.ts b/src/AppLoader.ts index ab4dc49..e4e639b 100644 --- a/src/AppLoader.ts +++ b/src/AppLoader.ts @@ -345,7 +345,7 @@ export class AppLoader { - let result: string | NodeJS.ReadableStream + let result: any if (type == "custom") { result = await fn(() => this.makeContext(undefined, headers), params, headers, req, body); } else {