1 | import { ReadonlyKeys } from "../readonly-keys";
|
2 | import { Writable } from "../writable";
|
3 | export type MarkReadonly<Type, Keys extends keyof Type> = Type extends Type ? Readonly<Type> & Writable<Pick<Type, Exclude<keyof Type, Keys | (Type extends object ? ReadonlyKeys<Type> : never)>>> : never;
|