Refacto dossier résumé #24
qualité-de-code.yml
on: pull_request
Run tsc with reviewdog
21s
Run svelte-check
28s
Annotations
3 errors and 1 warning
Run tsc with reviewdog:
scripts/server/database/dossier.js#L421
[tsc] reported by reviewdog 🐶
Type 'DossierComplet | { dossiers: any[]; évènementsPhaseDossier: VNementPhaseDossier[]; }' is not assignable to type 'DossierComplet'.
Type '{ dossiers: any[]; évènementsPhaseDossier: ÉvènementPhaseDossier[]; }' is not assignable to type 'DossierComplet'.
Type '{ dossiers: any[]; évènementsPhaseDossier: VNementPhaseDossier[]; }' is missing the following properties from type 'Omit<Dossier, "départements" | "communes" | "régions">': historique_date_réception_ddep, date_dépôt, historique_date_signature_arrêté_préfectoral, id, and 31 more.
Raw Output:
scripts/server/database/dossier.js(421,5): error TS2322: Type 'DossierComplet | { dossiers: any[]; évènementsPhaseDossier: VNementPhaseDossier[]; }' is not assignable to type 'DossierComplet'.
Type '{ dossiers: any[]; évènementsPhaseDossier: ÉvènementPhaseDossier[]; }' is not assignable to type 'DossierComplet'.
Type '{ dossiers: any[]; évènementsPhaseDossier: VNementPhaseDossier[]; }' is missing the following properties from type 'Omit<Dossier, "départements" | "communes" | "régions">': historique_date_réception_ddep, date_dépôt, historique_date_signature_arrêté_préfectoral, id, and 31 more.
|
Run tsc with reviewdog
Process completed with exit code 1.
|
Run svelte-check
Failed with 14 filtered issues (14 total). `failOnError` is enabled (14 issues) & `failOnWarning` is disabled (0 issues).
|
Run svelte-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|