Implementation of Design Patterns using TypeScript.
Stackblitz link: https://stackblitz.com/edit/design-patterns-ts
Samples Source 1: https://refactoring.guru/
Samples Source 2: https://habr.com/company/mailru/blog/325492/
Creational patterns are ones that create objects for you, rather than having you instantiate objects directly. This gives your program more flexibility in deciding which objects need to be created for a given case.
groups object factories that have a common theme.
constructs complex objects by separating construction and representation.
creates objects without specifying the exact class to create.
creates objects by cloning an existing object.
restricts object creation for a class to only one instance.