Update util.booleanify() return type

Ref 62f37c1e62
This commit is contained in:
Arthur Verschaeve 2015-06-10 16:51:39 +02:00
parent 80a77bd6a2
commit 5eb1850a55

View File

@ -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;