Typescript 4.1 introduced template-literal-types which now allow us to map strings. Take the following interfaces as example: