Skip to content

Commit

Permalink
refactor: remove deprecated type helpers usage
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 8, 2024
1 parent 72fe65c commit 7b43060
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import is from '@sindresorhus/is'
*/
const types = {
lookup: is,
isNull: is.null_,
isNull: is.null,
isBoolean: is.boolean,
isBuffer: is.buffer,
isNumber: is.number,
Expand All @@ -27,8 +27,8 @@ const types = {
isArray: is.array,
isRegexp: is.regExp,
isError: is.error,
isFunction: is.function_,
isClass: is.class_,
isFunction: is.function,
isClass: is.class,
isInteger: is.integer,
isFloat(value: number): value is number {
return value !== (value | 0)
Expand Down

0 comments on commit 7b43060

Please sign in to comment.