typescript compare enum key with string