The original codes fail to check the correctness of Typescript codes in MBXP dataset using mxeval method.
In file TSED-main/mxeval/mxeval/execution.py line 513:
"compiled = compile_result.returncode == 2 if language == "typescript" else compile_result.returncode == 0"
I wanna question why the value is "2" for the typescript.
I modified it to "0" and solved my problem.