enhancement in Root::TsGenerator