Related Post: Typescript Cast Object Literal To Type Typescript Cast Type To Object Typescript Cast String To Literal Type