Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "types/shallow-immutable"

Index

Type aliases

Type aliases

ShallowImmutable

ShallowImmutable<T>: T extends Primitive ? T : T extends Array<infer U> ? ReadonlyArray<U> : T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : Readonly<T>

Marks everything in the type as readonly.

Type parameters

  • T

Generated using TypeDoc