diff --git a/src/object/findKey.spec.ts b/src/object/findKey.spec.ts index ccbb6a1dd..3dc1af7bb 100644 --- a/src/object/findKey.spec.ts +++ b/src/object/findKey.spec.ts @@ -23,7 +23,7 @@ describe('findKey', () => { it('should return undefined for an empty object', () => { const users = {}; - // @ts-expect-error + // @ts-expect-error users is empty here expect(findKey(users, o => o.age < 40)).toBeUndefined(); });