In TypeScript, Getter is the method to obtain the value of a specific property, whereas the setter method is used to set the value of the specific property.

BY Best Interview Question ON 08 Jun 2019