4 ms·
Object.freeze can't be typed properly right now in TypeScript: https://github.com/Microsoft/TypeScript/issues/10725 https://github.com/Microsoft/TypeScript/issu
by lucasmullens 9y ago
Object.freeze can't be typed properly right now in TypeScript: https://github.com/Microsoft/TypeScript/issues/10725 https://github.com/Microsoft/TypeScript/issues/10725
TypeScript doesn't support deep readonly, which would be really helpful for Redux, where you're required to copy anything you change, but can easily forget.