Functional Domain Modeling TS

Use when a TypeScript project adopts the class-free, functional domain modeling style: type-alias contracts instead of interface, factory functions with closure state instead of class, companion objects via type+namespace declaration merging, branded types with smart constructors, and discriminated-union Result/error values instead of exception class hierarchies. Trigger for class-free TypeScript, companion object pattern, branded types, smart constructors, or Result-based error handling design.

amadeus-dlc 5f9c2cf 5.7 KB Updated

File contents

amadeus-dlc/amadeus/tree/main/amadeus/spaces/default/knowledge/amadeus-shared/software-design/functional-domain-modeling-ts commit 5f9c2cf0e0

Frequently asked questions

npx skillmds@latest add amadeus-dlc/functional-domain-modeling-ts