This can be emulated by using typescript and a package that uses different letters that look similar e.g. https://www.npmjs.com/package/flip-text.
If you are thinking about using this in the context of a webpage this can be done far easier and cleaner by using (possibly type-script controlled) CSS though. Have a look at this for example: https://www.w3docs.com/snippets/css/how-to-flip-text-with-css.html
Answered By – Vincent
Answer Checked By – Marilyn (AngularFixing Volunteer)