Created
December 9, 2018 13:02
-
-
Save Texlo-Dev/1b60661aeede68b3ae4fa15e1cc5278a to your computer and use it in GitHub Desktop.
Test DTO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { IsString } from "class-validator"; | |
export class TestDTO { | |
@IsString() public readonly string: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment