sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| // dynamic.controller.ts | |
| export const createDynamicController = ({ customPath }): Type<any> { | |
| @Controller() | |
| class MyController { | |
| constructor(private service: MyService) { } | |
| @Get([customPath]) | |
| async getSomething(@Res() res: Response) { | |
| //... | |
| } |