We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 901cb40 + 975eb55 commit d2defc2Copy full SHA for d2defc2
content/controllers.md
@@ -273,7 +273,7 @@ Routes with static paths won't work when you need to accept **dynamic data** as
273
```typescript
274
@@filename()
275
@Get(':id')
276
-findOne(@Param() params): string {
+findOne(@Param() params: any): string {
277
console.log(params.id);
278
return `This action returns a #${params.id} cat`;
279
}
0 commit comments