in packages/ts2kt-automator/lib.js [80:92]
function installTypes(packageName) {
const command = 'npm';
const [name, askedVersion] = packageName.split('@');
const version = askedVersion || getPackageVersion(packageName) || 'latest';
const args = ['install', `@types/${name}@${version}`, '--no-save'];
return spawnChildProcess(command, args).then(() =>
console.log(
`Package ${packageName} has been installed to node_modules/@types/${packageName}.`
)
);
}