vtils

Home > types > WritableKeys

WritableKeys type

Gets keys of an object which are writable

Signature:

export declare type WritableKeys<T extends {}> = {
    [P in keyof T]-?: IsFullyWritable<Pick<T, P>> extends true ? P : never;
}[keyof T];