angular-docs-cn/packages/core/test/render3
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
..
compiler_canonical refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
BUILD.bazel fix(ivy): remove custom tsconfig from render3 (#22913) 2018-03-22 18:02:48 -04:00
basic_perf.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
change_detection_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
common_integration_spec.ts fix(ivy): update compiler to generate separate creation mode and update mode blocks (#23292) 2018-04-11 15:30:39 -07:00
common_with_def.ts feat(ivy): support injection even if no injector present (#23345) 2018-04-13 14:29:52 -07:00
component_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
content_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
control_flow_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
define_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
di_spec.ts feat(ivy): support injection even if no injector present (#23345) 2018-04-13 14:29:52 -07:00
directive_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
exports_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
imported_renderer2.ts feat(ivy): implement pipes (#22254) 2018-03-07 20:58:48 -08:00
instructions_spec.ts test(ivy): add canonical compiler spec for class/style (#22719) 2018-03-14 12:59:52 -07:00
integration_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
lifecycle_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
listeners_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
load_domino.ts test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
node_selector_matcher_spec.ts refactor(ivy): flatten css selectors (#23074) 2018-03-30 15:27:50 -07:00
outputs_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
pipe_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
properties_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
pure_function_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
query_list_spec.ts feat(ivy): implement QueryList array-related methods (#21778) 2018-01-25 22:19:43 -08:00
query_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
render_util.ts revert: refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) 2018-04-13 23:02:29 -07:00
renderer_factory_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
testing_spec.ts test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
util_spec.ts feat(ivy): support deep queries through view boundaries (#21700) 2018-01-24 22:18:38 -08:00
view_container_ref_spec.ts fix(ivy): local directives and pipes should be applied to TemplateRef (#23312) 2018-04-13 13:31:19 -07:00