The Getters and Setters are known as accessor properties in TypeScript. They look like normal properties but are actually functions mapped to a Property.
確定! 回上一頁