Deep freeze, seal or preventExtensions with typescript types Usage: Install package npm install deep-lock Usage: import deepLock from 'deep-lock' cosnt obj = { x: 1 } // { x: number } const freezed = deepLock({ x: 1 }) // { readonly x: number }