Type Alias ReadonlyDataPropertyKeys<T>
ReadonlyDataPropertyKeys: {
[K in ReadonlyPropertyKeys<T>]-?: ContainsCallable<T[K]> extends true
? never
: K
}[ReadonlyPropertyKeys<T>]
[K in ReadonlyPropertyKeys<T>]-?: ContainsCallable<T[K]> extends true
? never
: K
}[ReadonlyPropertyKeys<T>]
Type Parameters
- T extends object
Object type to inspect.
Produces the readonly property keys of
Twhose value types contain no callable member.Readonly function-valued properties and readonly unions containing a callable type are excluded. Properties typed as
anyare also conservatively excluded.