UNPKG

domain-objects

Version:

A simple, convenient way to represent domain objects, leverage domain knowledge, and add runtime validation in your code base.

6 lines (5 loc) 163 B
/** * .what = shape constraint for all domain objects * .why = extracted to break circular dependencies */ export type DomainObjectShape = Record<string, any>;