angular-cn/tools/public_api_guard
Miško Hevery 2c09b707ce refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371)
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 `OpaqueToken`.

By prefixing the type with `ɵ` we are communicating the the outside world that
the value is not public API and is subject to change without backward compatibility.

PR Close #23371
2018-04-13 16:20:25 -07:00
..
animations feat(animations): expose `element` and `params` within transition matchers (#22693) 2018-03-13 09:42:24 -07:00
common docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
compiler build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
core refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) 2018-04-13 16:20:25 -07:00
elements feat(elements): remove attribute/input from config (#22413) 2018-03-16 12:39:07 -07:00
forms docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
http build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
platform-browser feat(platform-browser): add token marking which the type of animation module nearest in the injector tree (#23075) 2018-04-12 23:17:38 -07:00
platform-browser-dynamic docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
platform-server docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
platform-webworker docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
platform-webworker-dynamic docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
router docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
service-worker feat(service-worker): add support for configuring navigations URLs (#23339) 2018-04-13 13:13:36 -07:00
upgrade docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
BUILD.bazel test: migrate remaining public-api tests to Bazel (#22639) 2018-03-09 09:11:40 -08:00