DEV Community

Discussion on: Getting my feet wet with TypeScript

 
jnielson94 profile image
Jordan Nielson

I don't know that I would call it a magic string, since it still autocompletes and gets checked to make sure it's in the union... but from what I could tell it's down to personal preference at that point.