better TS client generator