Commit 975eb55
authored
Update controllers.md (type 'params' as 'any')
Without specifying the variable 'params' as type 'any' I received the following error on a fresh project while following the documentation:
```typescript
findOne(@param() params): string {
```
```
error TS7006: Parameter 'params' implicitly has an 'any' type.
```1 parent 901cb40 commit 975eb55
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
0 commit comments