Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
fix(type guard): change type guard into number
Browse files Browse the repository at this point in the history
  • Loading branch information
AteKitty07 committed Sep 16, 2022
1 parent 0ac3ad2 commit 3c54670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shareable/type_guards/is_number.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import isNumber from "lodash.isnumber"
export default function(value: any): value is boolean {
export default function(value: any): value is number {
return isNumber(value)
}

0 comments on commit 3c54670

Please sign in to comment.