Detect typescript files