mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-24 03:32:58 +03:00
fix: change to undefined[] annotation
This commit is contained in:
parent
cfccad28e0
commit
3b81b8fb8a
@ -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]);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user