Skip to content

Commit

Permalink
fix: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Jun 29, 2023
1 parent ef1e12d commit 46e1c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guards/isNull.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Nullish } from '../types/types';
import type { Nullable } from '../types/types';

/**
* Check whether the given value is nullable (undefined or null)
Expand All @@ -16,4 +16,4 @@ import type { Nullish } from '../types/types';
* isNull({}) // false
* isNull(false) // false
*/
export const isNull = (x: unknown): x is Nullish => x == null;
export const isNull = (x: unknown): x is Nullable => x == null;

0 comments on commit 46e1c54

Please sign in to comment.