Closed demariadaniel closed 2 months ago
I don't think any of this as
TS usage is correct.
I understand you want to narrow the type but you're not actually checking to make sure the value is of that type.
We are telling TS already that these things are of a certain type eg. https://github.com/icgc-argo/argo-clinical/blob/develop/src/clinical/clinical-entities.ts#L115 and this usage negates that.
I believe the fix is to add explicit check if TS can't infer.
eg. if you're saying as string
make sure typeof foo === 'string'
calling TS gods for 2nd opinion @joneubank
Link to Issue
#1141
Description
Adds Exception Manifest to
getDonorDataByIdAsTsvsInZip
at/donors/tsv
Allows downloading exceptions from multiple programs if files from multiple programs are selected (which is possible, tested in QA) Example output in ticket
Checklist
Type of Change
Checklist before requesting review:
develop
not master)validationDependency
in meta tag for Argo Dictionary fields used in code