2024-08-20 23:25:37 +04:00

2 lines
115 B
TypeScript

export default function omit<T extends object, K extends keyof T>(obj: T, fields: K[] | readonly K[]): Omit<T, K>;