fix(TS2564): add ! to title in CreateTaskDto
This commit is contained in:
parent
ed6f96fc46
commit
7240fb5805
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import { db } from '../db/client';
|
|||
import { tasks } from '../db/schema';
|
||||
|
||||
class CreateTaskDto {
|
||||
@IsString() title: string;
|
||||
@IsString() title!: string;
|
||||
@IsOptional() @IsNumber() priority?: number;
|
||||
@IsOptional() @IsString() dueAt?: string;
|
||||
@IsOptional() @IsString() workspaceId?: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue