"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var replaceAll = function replaceAll(string, oldValue, newValue) {
if (typeof string === "string") {
return string.split(oldValue).join(newValue);
}
return string;
};
exports.default = replaceAll;