Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ResultActions_1.configureQuery(props.environmentId, props.currentQuery, props.itemsPerPage, props.highlightsEnabled, props.promote.map(function (itemUUID) {
return itemUUID instanceof ItemUUID_1.ItemUUID
? itemUUID
: ItemUUID_1.ItemUUID.createFromArray(itemUUID);
}), props.exclude.map(function (itemUUID) {
return itemUUID instanceof ItemUUID_1.ItemUUID
ResultActions_1.configureQuery(props.environmentId, props.currentQuery, props.itemsPerPage, props.highlightsEnabled, props.promote.map(function (itemUUID) {
return itemUUID instanceof ItemUUID_1.ItemUUID
? itemUUID
: ItemUUID_1.ItemUUID.createFromArray(itemUUID);
}), props.exclude.map(function (itemUUID) {
return itemUUID instanceof ItemUUID_1.ItemUUID