design-patterns-typescript
design-patterns-typescript copied to clipboard
Returned wrong attribute on Builder pattern | prototype example
This is not only related to the typescript code samples, it is more related to the book, but I can not find where to submit that kind of issue.
Issue
Once we make attribute: result we should return this.result not this.manual . I know this is only a prototype, but still, I guess this should be applied.

Best, Vladislav.
The manual is only a type of this.result.