

def create_output(self):
    self.sourceFilePath = args.inputView.file_name()
    self.outputFileName = Tool.get_js_file_name(Tool.get_file_name(self.sourceFilePath))
    self.outputFilePath = path.join(path.dirname(self.sourceFilePath), self.outputFileName)
    args = ['--sourcemap', self.sourceFilePath]
    run('tsc', args, callback=(lambda res: self.on_done(res)))

dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py Watcher.create_output/VarMisuse@14/18 `self`->`args`