Error about unsupported TS version while project is using supported version