Camelize string, ignore dot notation strings when strict.

@param val the value to camelize
@param strict when true dot notation values ignored.
function toCamelcase(val, strict) {
    if (strict === void 0) { strict = true; }
    if (!strict || !/\S+\.[^\.]\S+/.test(val))
        return chek_1.camelcase(val);
    return val;
}