chanzuckerberg / single-cell-explorer

Hosted version of cellxgene
MIT License
11 stars 2 forks source link

Use type guards to insure type instead of casting #35

Open seve opened 3 years ago

seve commented 3 years ago

There are a general use of type assertions value as type over type guards, which are considered an antipattern in TypeScript

atolopko-czi commented 1 year ago

@seve how important is this? how much work is it? ty!