DEV Community

Discussion on: TypeScript's enum + JavaScript's "in" = 👍

Collapse
 
andrewmcoupe profile image
Andy Coupe • Edited

Ah yes, good spot! I had a check and the status is received as a string value from our database so in my case it works well.