disable ts_warning