From 5eb1850a55af75ef042c098ae3ae9ca4b1dafbaa Mon Sep 17 00:00:00 2001 From: Arthur Verschaeve Date: Wed, 10 Jun 2015 16:51:39 +0200 Subject: [PATCH] Update `util.booleanify()` return type Ref https://github.com/babel/babel/commit/62f37c1e6212f14a2c23d7db34a985d2a321ee2b --- src/babel/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babel/util.js b/src/babel/util.js index 0d2a5549a2..123209e239 100644 --- a/src/babel/util.js +++ b/src/babel/util.js @@ -102,7 +102,7 @@ export function arrayify(val: any, mapFn?: Function): Array { return [val]; } -export function booleanify(val: any): boolean { +export function booleanify(val: any) { if (val === "true") return true; if (val === "false") return false; return val;