File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 49
49
" return this.${className}Service.get${ClassName}();" ,
50
50
" }" ,
51
51
" " ,
52
- " // findOne(@Param('id') id: string): Cat {" ,
52
+ " // findOne(@Param('id') id: string): ${ClassName_singular}Dto {" ,
53
53
" @Get(':id')" ,
54
54
" get${ClassName_singular}(@Param('id') id: string): ${ClassName_singular}Dto {" ,
55
55
" return this.${className}Service.get${ClassName_singular}(id);" ,
71
71
" */" ,
72
72
" @Delete()" ,
73
73
" delete${ClassName_singular}(@Param('id') id: string) {" ,
74
- " console.log('delete ${className_singular}', id);" ,
75
74
" this.${className}Service.delete${ClassName_singular}(id);" ,
76
75
" }" ,
77
76
" }" ,
89
88
" @Injectable()" ,
90
89
" export class ${ClassName}Service {" ,
91
90
" " ,
92
- " ${className}: ${ClassName_singular}Dto = [{" ,
91
+ " ${className}: ${ClassName_singular}Dto[] = [{" ,
93
92
" id: '1'," ,
94
93
" name: 'A SPA app'," ,
95
94
" }," ,
You can’t perform that action at this time.
0 commit comments