GitHub · TypeScript
final-hill/decorator-contracts
Decorator Contracts is a library that provides the ability to create and assign Code Contracts to ECMAScript and TypeScript classes. This enables enforcement of the Liskov substitution principle and the Open-closed principle of SOLID to support Design By Contract™.
- Stars
- 18
- Forks
- 2
- Stars gained in 24 hours
- Not enough history yet
- Forks gained in 24 hours
- Not enough history yet
Topics: assertion, behavioral-subtyping, code-contracts, decorators, demands, design-by-contract, encapsulation, exception-handling, if-and-only-if, invariant
Latest data point: Nov 23, 2026 · 18 stars · 2 forks