Enable cds watch hello
by moving the `hello` implementation into the subfolder `srv`
This commit is contained in:
committed by
Daniel Hutzel
parent
e1052c209b
commit
ae09caf7ad
5
hello/srv/world.ts
Normal file
5
hello/srv/world.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = class say {
|
||||
hello(req: any) {
|
||||
return `Hello ${req.data.to} from a TypeScript file!`
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user