parallel.js definitoins for typescript