function bulkConvert(text: string) {
const pairs = text
.split(/\n/) // split by line
.map(pair => pair
.split(/[\s]+/) // split by whitespace
.map(numString => parseFloat(numString)) // parse string to number
);
const results = pairs.map(([x, y]) => x * y);
// then do whatever you want with results, I think you want this.outputBulk = results;
}