fix: change to undefined[] annotation

This commit is contained in:
jgjgill 2024-06-16 17:02:55 +09:00
parent cfccad28e0
commit 3b81b8fb8a

View File

@ -17,7 +17,7 @@ describe('isUndefined', () => {
const result = arr.filter(isUndefined);
// Here the type of result should be `null[]`.
// Here the type of result should be `undefined[]`.
expect(result).toStrictEqual([undefined]);
});
});