[typescript] TypeScript: correct way to do string equality?