angular-cn/packages/examples/core/di/ts
Kristiyan Kostadinov de4fafb818 refactor(core): add single type for injector token (#41580)
Currently we have a lot of places where we repeat the type `Type<T>|AbstractType<T>|InjectionToken<T>` which makes it cumbersome to add another type or to type something else with the same signature.

These changes add a new type that can be used instead.

Fixes #39792.

PR Close #41580
2021-04-22 10:47:12 -07:00
..
contentChild build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
contentChildren build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
forward_ref docs: update forwardRef example (#39519) 2020-11-02 11:40:17 -08:00
viewChild build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewChildren build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
injector_spec.ts refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
metadata_spec.ts docs: use TS Parameter properties in SkipSelf example (#40858) 2021-02-16 09:24:25 -08:00
provider_spec.ts docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00