Type alias ReadOnlyDeepRecord<Input>

ReadOnlyDeepRecord<Input>: { readonly [ Property in keyof Input]: ReadOnlyDeep<Input[Property]> }

Read-only deep record.

Example

```typescript const record: ReadOnlyDeepRecord<Array> = { "🟢": [1, 2, 3], "🟩": [4, 5, 6], }; record["🟢"][0] = 7; // Error

Type Parameters

  • Input