Typescript Condition With Strings In Function Always Return False

Typescript Condition With Strings In Function Always Return False