Produces the property keys of T that do not support assignment.
T
This includes explicitly readonly properties and getter-only accessors.
Object type to inspect.
interface Example{ value: number; readonly id: string;}type Keys = ReadonlyPropertyKeys<Example>;// "id" Copy
interface Example{ value: number; readonly id: string;}type Keys = ReadonlyPropertyKeys<Example>;// "id"
Produces the property keys of
Tthat do not support assignment.This includes explicitly readonly properties and getter-only accessors.