Skip to main content

TYPESCRIPT Spells

Browsing 23 incantations written in typescript.

TYPESCRIPT Archmage
Transmutation
GoF Lineage: Bridge

The Bridge

Decoupling an abstraction from its implementation so both can vary independently.

#structural #typescript #bridge
Read Full Scroll →
TYPESCRIPT Adept
Transmutation
GoF Lineage: Builder

The Builder

Methodically assembling complex cyber-arcane constructs step-by-step using strict type checking.

#creational #typescript #builder
Read Full Scroll →
TYPESCRIPT Apprentice
Divination
GoF Lineage: Iterator

The Iterator

Sequentially accessing the elements of an arcane matrix without exposing its underlying structure.

#behavioral #typescript #iterator
Read Full Scroll →
TYPESCRIPT Adept
Abjuration
GoF Lineage: Proxy

The Proxy

Providing a surrogate or placeholder to control access to forbidden arcane knowledge.

#structural #typescript #proxy
Read Full Scroll →
TYPESCRIPT Adept
Transmutation
GoF Lineage: State

The State

Allowing an entity to radically alter its behavior when its internal magical state shifts.

#behavioral #typescript #state
Read Full Scroll →
TYPESCRIPT Archmage
Divination
GoF Lineage: Visitor

The Visitor

Separating an algorithm from the object structure on which it operates to perform novel inspections.

#behavioral #typescript #visitor
Read Full Scroll →