Skip to content

Commit 7961352

Browse files
authored
Fix wrong TS type
1 parent b6e1227 commit 7961352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)