diff --git a/src/helpers/omit.ts b/src/helpers/omit.ts index 8dd20d8..bd44384 100644 --- a/src/helpers/omit.ts +++ b/src/helpers/omit.ts @@ -1,8 +1,10 @@ +import type { Except } from "type-fest" + // eslint-disable-next-line import/no-unused-modules export function omit( subject: Subject, - ...keys: Key[] -): Omit { + keys: Key[], +): Except { const result: any = {} for (const key in subject) { if (!keys.includes(key as unknown as Key)) {