4 ms·It doesn’t make it valid Java. You can paste JS verbatim to TS file and it will work.by wiseowise 1y agoIt doesn’t make it valid Java. You can paste JS verbatim to TS file and it will work.