in packages/ts2kt-automator/lib.js [94:106]
function convertTypesToKotlin(packageName, destinationDir) {
const [name] = packageName.split('@');
const command = 'node';
const ts2ktPath = require.resolve('ts2kt');
const args = [ts2ktPath, '-d', destinationDir, getPackageTypeFilePath(name)];
return spawnChildProcess(command, args).then(() =>
console.log(
`Types for ${name} have been converted and put into ${destinationDir}.`
)
);
}