angular/packages/core/src/view
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
..
element.ts refactor(core): move sanitization into core (#22540) 2018-03-07 18:24:06 -08:00
entrypoint.ts feat(compiler): introduce TestBed.overrideTemplateUsingTestingModule 2017-11-06 14:12:30 -08:00
errors.ts feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
index.ts feat(compiler): introduce TestBed.overrideTemplateUsingTestingModule 2017-11-06 14:12:30 -08:00
ng_content.ts refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
ng_module.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) 2018-04-13 16:20:25 -07:00
provider.ts fix: consistently rewrite Injector to INJECTOR (#23008) 2018-03-28 09:14:32 -07:00
pure_expression.ts refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
query.ts refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
refs.ts feat: change @Injectable() to support tree-shakeable tokens (#22005) 2018-02-12 14:34:59 -08:00
services.ts feat(ivy): @NgModule -> ngInjectorDef compilation (#22458) 2018-03-16 12:57:11 -07:00
text.ts refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
types.ts feat: tree-shakeable providers API updates (#22655) 2018-03-13 09:28:05 -07:00
util.ts fix(core): fix retrieving the binding name when an expression changes (#21814) 2018-01-26 15:34:47 -08:00
view.ts fix(core): ensure init lifecycle events are called (#20258) 2017-11-10 13:47:39 -08:00
view_attach.ts style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975) 2018-03-27 14:51:53 -04:00