This repo contains TypeScript examples of design patterns from the book Design Patterns: Elements of Reusable Object-Oriented Software
In /src
, each pattern has its own folder with the following files:
notes.md
- notes + diagrams about the patternpattern.ms
- the pattern written in TypeScriptexample.ts
- an example of using the pattern
These are the patterns that i have notes on:
mindmap
root)Design Patterns(
:::urgent large
Creational Patterns(Creational Patterns)
Abstract Factory[Abstract Factory]
Structural Patterns(Structural Patterns)
Composite[Composite]
Behavioral Patterns(Behavioral Patterns)
Creational
Structural