Extract writable (mutable) properties from a class as an object.
A class or object type
Returns an object type containing all writable properties. Useful for state updates, patches, or builders.
class Profile { readonly id: number; bio: string; avatarUrl: string; }type WritablePropsObj = WritablePropertiesObject< Profile >;// { bio: string; avatarUrl: string; } Copy
class Profile { readonly id: number; bio: string; avatarUrl: string; }type WritablePropsObj = WritablePropertiesObject< Profile >;// { bio: string; avatarUrl: string; }
Extract writable (mutable) properties from a class as an object.