From c4472cf8e75371888659ef76939b1cf06291e245 Mon Sep 17 00:00:00 2001 From: Salakar Date: Mon, 25 Sep 2017 23:05:07 +0100 Subject: [PATCH] [flow] misc warnings --- lib/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/index.js b/lib/utils/index.js index 09eaea33..716cea30 100644 --- a/lib/utils/index.js +++ b/lib/utils/index.js @@ -83,7 +83,7 @@ export function isFunction(item?: any): boolean { * @param value * @return {boolean} */ -export function isString(value): Boolean { +export function isString(value: any): boolean { return typeof value === 'string'; }