Plain data records, recursively copied and frozen on attachment. Runtime validation also rejects accessors and non-plain prototypes, which TypeScript's structural types cannot reliably distinguish from data records.
Plain data records, recursively copied and frozen on attachment. Runtime validation also rejects accessors and non-plain prototypes, which TypeScript's structural types cannot reliably distinguish from data records.