diff --git a/hello/srv/world.ts b/hello/srv/world.ts index 21a63b46..898e38e0 100644 --- a/hello/srv/world.ts +++ b/hello/srv/world.ts @@ -1,5 +1,7 @@ +import { Request } from "@sap/cds/apis/services" + module.exports = class say { - hello(req: any) { + hello(req: Request) { return `Hello ${req.data.to} from a TypeScript file!` } }