Foundry Virtual Tabletop - API Documentation - Version 14
Preparing search index...
foundry
types
DeepReadonly
Type Alias DeepReadonly<T>
DeepReadonly
:
{
readonly
[
K
in
keyof
T
]
:
T
[
K
]
extends
|
undefined
|
null
|
boolean
|
number
|
string
|
symbol
|
bigint
|
Function
?
T
[
K
]
:
T
[
K
]
extends
(
infer
V
)
[]
?
ReadonlyArray
<
DeepReadonly
<
V
>
>
:
T
[
K
]
extends
Map
<
infer
K
,
infer
V
>
?
ReadonlyMap
<
DeepReadonly
<
K
>
,
DeepReadonly
<
V
>
>
:
T
[
K
]
extends
Set
<
infer
V
>
?
ReadonlySet
<
DeepReadonly
<
V
>
>
:
DeepReadonly
<
T
[
K
]
>
}
Make all properties in T recursively readonly.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
Private
Internal
Theme
OS
Light
Dark
Foundry Virtual Tabletop - API Documentation - Version 14
Loading...
Make all properties in T recursively readonly.