Skip to content

Commit 227e31c

Browse files
Merge pull request #3214 from smith558/patch-3
docs(techniques): fix wrong TS type
2 parents b6e1227 + 7961352 commit 227e31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/validation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ import { IsNumberString } from 'class-validator';
199199

200200
export class FindOneParams {
201201
@IsNumberString()
202-
id: number;
202+
id: string;
203203
}
204204
```
205205

0 commit comments

Comments
 (0)