Extracts only function properties from an object type.
Useful for creating proxies, method decorators, or when separating behavior from data in object-oriented designs.
interface User { id: string; name: string; save(): void; delete(): void; }type UserMethods = Pick<User, FunctionProps<User>>; // { save(): void; delete(): void; } Copy
interface User { id: string; name: string; save(): void; delete(): void; }type UserMethods = Pick<User, FunctionProps<User>>; // { save(): void; delete(): void; }
Extracts only function properties from an object type.
Useful for creating proxies, method decorators, or when separating behavior from data in object-oriented designs.