From d009286b51456643ab311a0c30ffc95a24c48d76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= <Syuilotan@yahoo.co.jp>
Date: Thu, 2 Mar 2017 06:25:05 +0900
Subject: [PATCH] typo

---
 src/api/validator.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/validator.ts b/src/api/validator.ts
index 3c426054e..bc50da3a3 100644
--- a/src/api/validator.ts
+++ b/src/api/validator.ts
@@ -42,7 +42,7 @@ function validate<T>(value: any, type: Type, isRequired?: boolean, validator?: V
 
 		case 'boolean':
 			if (typeof value != 'boolean') {
-				return [null, 'must-be-an-boolean'];
+				return [null, 'must-be-a-boolean'];
 			}
 			break;
 
@@ -62,7 +62,7 @@ function validate<T>(value: any, type: Type, isRequired?: boolean, validator?: V
 
 		case 'object':
 			if (typeof value != 'object') {
-				return [null, 'must-be-an-onject'];
+				return [null, 'must-be-an-object'];
 			}
 			break;
 	}