angular-docs-cn/tools
Misko Hevery b64a276d4b refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383)
Ivy definition looks something like this:

```
class MyService {
  static ngInjectableDef = defineInjectable({
    …
  });
}
```

Here the argument to `defineInjectable` is well known public contract which needs
to be honored in backward compatible way between versions. The type of the
return value of `defineInjectable` on the other hand is private and can change
shape drastically between versions without effecting backwards compatibility of
libraries publish to NPM. To our users it is effectively an opaque token.
For this reson why declare the return value of `defineInjectable` as `never`.

PR Close #23383
2018-04-14 20:40:14 -07:00
..
build build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
cjs-jasmine feat(elements): add support for creating custom elements (#22413) 2018-03-16 12:39:07 -07:00
code.angularjs.org build: use subshells when changing directories 2017-05-12 12:19:51 -07:00
gulp-tasks refactor: update CLDR data for closure locale & use a const for undefined (#23372) 2018-04-13 16:30:23 -07:00
karma build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
ngcontainer build: move ngcontainer sources to angular/angular (#23374) 2018-04-13 16:27:59 -07:00
npm build: remove local yarn (#19981) 2017-11-02 15:11:34 -07:00
public_api_guard refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
source-map-test build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
symbol-extractor fix(ivy): change symbol-extractor to use .accept rather than -—define UPDATE_GOLDEN=1 (#22913) 2018-03-22 18:02:48 -04:00
testing feat(core): add task tracking to Testability (#16863) 2018-03-14 08:48:48 -07:00
travis build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
tree-shaking-test refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
ts-api-guardian build: remove unnecessary stability check (#23176) 2018-04-05 10:03:39 -07:00
tsc-watch build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
tslint feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
validate-commit-message feat(elements): add support for creating custom elements (#22413) 2018-03-16 12:39:07 -07:00
yarn build: upgrade yarn to 1.3.2 (#21406) 2018-01-10 12:32:26 -08:00
BUILD.bazel build: fix bazel stamping (#22965) 2018-03-28 09:00:02 -07:00
bazel.rc test: integration tests now against bazel built packages (#22810) 2018-04-13 16:30:50 -07:00
bazel_stamp_vars.sh build: fix bazel stamping (#22965) 2018-03-28 09:00:02 -07:00
check-environment.js build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
defaults.bzl build: add '@angular/elements' the framework package group 2018-04-14 03:48:32 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
postinstall-patches.js build: update to rxjs@6.0.0-beta.4 (#23084) 2018-03-30 13:07:03 -07:00
tsconfig.json test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
types.d.ts fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
utils.inc feat(bundle): add script to push bundles to code.angularjs.org 2015-04-14 14:50:53 -07:00