From 4e4a6e1062075705d96883f860f23b545fd9ebdf Mon Sep 17 00:00:00 2001 From: Alberto Date: Tue, 10 Mar 2020 13:26:57 +0100 Subject: [PATCH] fix(checks): typo --- packages/checks/src/is-positive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/checks/src/is-positive.ts b/packages/checks/src/is-positive.ts index da27dbd8ae..0cceb3781c 100644 --- a/packages/checks/src/is-positive.ts +++ b/packages/checks/src/is-positive.ts @@ -1,2 +1,2 @@ -export const isPosititve = (x: any): x is number => +export const isPositive = (x: any): x is number => typeof x === "number" && x > 0;