Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { ObjectType, Field, ID } from 'type-graphql';
- @ObjectType()
- export class Chat {
- @Field(type => ID)
- id: number;
- @Field()
- title: string;
- @Field({ nullable: true })
- description?: string;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement