angular-docs-cn/packages/core
Carlos Ortiz García 3aba7ebe6a feat(core): Introduce TestBed.inject to replace TestBed.get (#32200)
TestBed.get is not type safe, fixing it would be a massive breaking
change. The Angular team has proposed replacing it with TestBed.inject
and deprecate TestBed.get.

Deprecation from TestBed.get will come as a separate commit.

Issue #26491
Fixes #29905

BREAKING CHANGE: Injector.get now accepts abstract classes to return
type-safe values. Previous implementation returned `any` through the
deprecated implementation.

PR Close #32200
2019-08-28 21:26:46 -07:00
..
schematics refactor(core): undecorated classes migration should not decorate classes if not needed (#32319) 2019-08-28 17:11:36 -07:00
src feat(core): Introduce TestBed.inject to replace TestBed.get (#32200) 2019-08-28 21:26:46 -07:00
test feat(core): Introduce TestBed.inject to replace TestBed.get (#32200) 2019-08-28 21:26:46 -07:00
testing feat(core): Introduce TestBed.inject to replace TestBed.get (#32200) 2019-08-28 21:26:46 -07:00
BUILD.bazel build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json build(zone.js): update zone.js to 0.10.2 (#31975) 2019-08-16 09:56:41 -07:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00