angular-cn/packages/core
Alex Rickabaugh f8749bfb70 fix(core): export inject() from @angular/core (#22389)
inject() supports the ngInjectableDef-based configuration of the injector
(otherwise known as tree-shakeable services). It was missing from the
exported API of @angular/core, this PR adds it.

The test added here is correct in theory, but may pass accidentally due
to the decorator side-effect replacing the inject() call at runtime. An
upcoming compiler PR will strip reified decorators from the output
entirely.

Fixes #22388

PR Close #22389
2018-02-28 10:44:37 -08:00
..
src fix(core): export inject() from @angular/core (#22389) 2018-02-28 10:44:37 -08:00
test feat(ivy): support OnPush change detection (#22417) 2018-02-28 10:42:11 -08:00
testing feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
BUILD.bazel feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json build: update to rxjs@5.5.0 (#19345) 2017-10-18 11:17:43 -07:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
tsconfig-build.json refactor(bazel): convert most ts_library to ng_module (#22176) 2018-02-15 14:08:53 -08:00