design-patterns-typescript
design-patterns-typescript copied to clipboard
Design Pattern Examples in TypeScript
Hello, I would like to work on RealWorld examples for this repository (this is my first contribution to a project). Before to start I would really appreciate an ok from...
Just a tiny change to keep the signatures of createDBConnection consistent
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. ##...
The issue: https://github.com/RefactoringGuru/design-patterns-typescript/issues/48 In the real-world example, I used stricter encapsulation with ConcreteOriginator and ConcreteMemento.
In the memento conceptual example, you have the next interface of Memento that will be used by caretakers: ``` interface Memento { getState(): string; getName(): string; getDate(): string; } ```...