Comparing Two Strings In Typescript Compiler