[TASK] Clear whitespace in TS templates