angular/packages/core/test
Alex Rickabaugh 79466baef8 fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203)
Previously in Ivy, metadata for directives/components/modules/etc was
carried in .d.ts files inside type information encoded on the
DirectiveDef, ComponentDef, NgModuleDef, etc types of Ivy definition
fields. This works well, but has the side effect of complicating Ivy's
runtime code as these extra generic type parameters had to be specified
as <any> throughout the codebase. *DefInternal types were introduced
previously to mitigate this issue, but that's the wrong way to solve
the problem.

This commit returns *Def types to their original form, with no metadata
attached. Instead, new *DefWithMeta types are introduced that alias the
plain definition types and add extra generic parameters. This way the
only code that needs to deal with the extra metadata parameters is the
compiler code that reads and writes them - the existence of this metadata
is transparent to the runtime, as it should be.

PR Close #26203
2018-10-04 10:11:17 -07:00
..
animation build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
bundling refactor(ivy): flatten LInjector into LViewData (#26220) 2018-10-03 15:27:57 -07:00
change_detection refactor: ensure all 'TODO's are consistent (#23252) 2018-04-13 13:11:01 -07:00
debug build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
di fix(ivy): ignore imports without ngInjectorDef in r3_injector (#24862) 2018-07-20 11:48:36 -07:00
dom fix(platform-server): add styles to elements correctly (#22527) 2018-03-14 14:12:31 -07:00
linker fix(core): fix tests for uninitialized @Output error (#19116) 2018-08-02 09:37:21 -07:00
metadata Revert "feat(core): add support for using async/await with Jasmine" (#25096) 2018-07-25 11:44:56 -07:00
reflection build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
render3 fix(ivy): remove metadata from *Def and introduce *DefWithMeta types (#26203) 2018-10-04 10:11:17 -07:00
sanitization feat(ivy): bridge compile instructions to include sanitization helpers (#24938) 2018-07-23 08:49:52 -07:00
testability fix(core): In Testability.whenStable update callback, pass more complete (#25010) 2018-08-06 13:49:19 -07:00
util feat(core): upgrade rxjs to 6.0.0-alpha.4 (#22573) 2018-03-19 21:51:51 -07:00
view fix(core): mark NgModule as not the root if APP_ROOT is set to false (#24814) 2018-07-10 11:09:36 -07:00
zone build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
application_init_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
application_module_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
application_ref_integration_spec.ts feat(ivy): implement TestBed (#25369) 2018-08-14 11:58:47 -07:00
application_ref_spec.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
BUILD.bazel build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 (#25920) 2018-09-18 13:05:38 -07:00
component_fixture_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
dev_mode_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
directive_lifecycle_integration_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
error_handler_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
event_emitter_spec.ts fix(core): fix proper propagation of subscriptions in EventEmitter (#22016) 2018-02-06 07:56:33 -08:00
fake_async_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
forward_ref_integration_spec.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
ivy_local_empty_spec.ts ci(ivy): configure CI environments for Ivy JIT and AOT (#24309) 2018-06-08 13:34:27 -07:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
test_bed_spec.ts feat(ivy): implement TestBed (#25369) 2018-08-14 11:58:47 -07:00
testing_internal_spec.ts fix(core): use addCustomEqualityTester instead of overriding toEqual (#22983) 2018-07-03 08:35:15 -07:00
util_spec.ts build(core): remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00