Types transformations with Typescript

Some practical ideas of types usage.