Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Value Objects – DDD with TypeScript. Parent comment
There are also ways to opt-in and out of following rules like this, even from a TypeScript context- you just have to be more aggressive about it.
For example, you could access private methods by doing:
User['create']() for example. Sometimes this is necessary for testing.
There are no comments on this comment yet.
There are also ways to opt-in and out of following rules like this, even from a TypeScript context- you just have to be more aggressive about it.
For example, you could access private methods by doing:
User['create']() for example. Sometimes this is necessary for testing.