3 ms·
With Typescript classes that becomes better imo. Data are instance variables, computed properties are getters (and setters) and methods are instance methods.
by Semaphor 8y ago
With Typescript classes that becomes better imo. Data are instance variables, computed properties are getters (and setters) and methods are instance methods.