NEPTUNE
  • Home
  • Stories
  • Technical
  • Work from home
Sign in Subscribe

typescript

A collection of 1 post
Overriding getter/setter in TypeScript
typescript Featured

Overriding getter/setter in TypeScript

In contrast to the convention in Java, in TypeScript, we generally don't use getters or setters. We access and set variables directly. However, sometimes it is useful to perform some logic before a variable is set. TypeScript has a very neat feature to achieve that, without the need
24 Aug 2017 1 min read
Page 1 of 1
NEPTUNE © 2025
  • Return to main website
Powered by Ghost