Options
All
  • Public
  • Public/Protected
  • All
Menu

EF Deep Freeze

A TypeScript deep freeze library.

import deepFreeze from '@ef-carbon/deep-freeze';

const frozen = deepFreeze({ a: { b: 2 }});
frozen.a.b = 4;  // throws TypeError