diff --git a/packages/common/src/without.ts b/packages/common/src/without.ts index 50553a5..e521bc6 100644 --- a/packages/common/src/without.ts +++ b/packages/common/src/without.ts @@ -3,8 +3,7 @@ export function without, K extends keyof R>( key: K, ): Pick> { return Object.keys(items).reduce((obj, k) => { - // tslint:disable-next-line - if (key == k) { + if (key === k) { return obj } (obj as any)[k] = items[k]