Typescript Constructor Shorthand

Here is a thing, in Typescript there is a shorthand to create and assign class properties from constructor params. Imagine you have following code, let's say you have class User: You can write same class using shorter sy