@ditsmod/return
v2.6.1
Published
It's Ditsmod module to listen to value returned by a controller's route.
Downloads
43
Readme
About the project
@ditsmod/return
- it's Ditsmod module to listen to value returned by a controller's route.:
import { controller, route } from '@ditsmod/core';
@controller()
export class HelloWorldController {
@route('GET')
async tellHello() {
return 'Hello World!\n';
}
}