SeedCompany / cord-api-v3

Bible translation project management API
MIT License
18 stars 4 forks source link

[EdgeDB] ProgressReport Workflow Queries #3127

Closed atGit2021 closed 6 months ago

atGit2021 commented 7 months ago

Monday

atGit2021 commented 6 months ago

@CarsonF , I need your help with the last issue related to Transition, Error: src/components/progress-report/workflow/progress-report-workflow.service.ts(43,7): error TS2322: Type 'InternalTransition | undefined' is not assignable to type 'InternalTransition & SetUnsecuredType<ID | Nil>'. Type 'undefined' is not assignable to type 'InternalTransition & SetUnsecuredType<ID | Nil>'. Type 'undefined' is not assignable to type 'InternalTransition'.

CarsonF commented 6 months ago

@atGit2021 this worked for me

  readonly transition?: InternalTransition & SetUnsecuredType<ID | null>;
atGit2021 commented 6 months ago

@atGit2021 this worked for me

  readonly transition?: InternalTransition & SetUnsecuredType<ID | null>;

Thank you