chore(Core): Add @optionalTypeArgs to Provider classes.
chore(Core): Add @optionalTypeArgs to Provider classes.

Type [T] is not required to be inferred, since even after DI 1.5 having T omitted is still valid ("slow-mode").

PiperOrigin-RevId: 162673024

kevmoo/angular,kevmoo/angular,angulardart/angular,matanlurey/angular,matanlurey/angular,kevmoo/angular,matanlurey/angular,chalin/angular2,angulardart/angular,angulardart/angular,chalin/angular2,chalin/angular2