feat(be): change contest config nullability #6741
Annotations
8 errors
Test
Process completed with exit code 1.
|
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'Contest'.
|
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'ContestWithParticipants'.
|
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'CreateContestInput'.
|
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type 'UpdateContestInput'.
|
Typecheck
Argument of type '{ title: string; description: string; startTime: Date; endTime: Date; config: { isVisible: boolean; isRankVisible: boolean; }; }' is not assignable to parameter of type 'CreateContestInput'.
|
Typecheck
Object literal may only specify known properties, and 'config' does not exist in type '{ id: number; createdById: number | null; groupId: number; title: string; description: string; startTime: Date; endTime: Date; isVisible: boolean; isRankVisible: boolean; createTime: Date; updateTime: Date; } & { ...; }'.
|
Typecheck
Process completed with exit code 1.
|