

def brew(args, source, cwd=None, callback=None):
    '\n    Compile command\n    '
    tempTSFile = path.join(tempfile.gettempdir(), 'temp.ts')
    with open(tempTSFile, 'w') as f:
        f.write(source)
    res = run('tsc', [cwd])
    res['out'] = open(path.join(tempfile.gettempdir(), 'temp.js')).read()
    return res

dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py brew/VarMisuse@64/91 `tempTSFile`->`cwd`