UNPKG

273 BTypeScriptView Raw
1import { Writable } from "../writable";
2import { WritableKeys } from "../writable-keys";
3export type MarkWritable<Type, Keys extends keyof Type> = Type extends Type ? Readonly<Type> & Writable<Pick<Type, (Type extends object ? WritableKeys<Type> : never) | Keys>> : never;