In TypeScript, A & B describes a value with the requirements of both object types. An object satisfying only one side is insufficient.
The demo combines an id field and a timestamp field into one record. Incompatible definitions for the same field can make an intersection unusable.
When to use
Use it to combine independent object property groups into one contract.