import type { IsEqual } from './IsEqual'; /** * Pick only readonly parameters * * @example * PickReadOnly<{ readonly a: string; b: string }> -> { readonly a: string; } */ export type PickReadOnly = { [TKey in keyof TObject as Extract>]: TObject[TKey]; }; /** * Returns keys of only readonly parameters * * @example * PickReadOnlyKeys<{ readonly a: string; b: string }> -> 'a' */ export type PickReadOnlyKeys = keyof PickReadOnly; //# sourceMappingURL=PickReadOnly.d.ts.map