angular-cn/packages
Pete Bacon Darwin 4b70a4e905 feat(ivy): support NgModule metadata from calls that do not return ModuleWithProviders types (#27326)
Normally functions that return `ModuleWithProvider` objects should parameterize
the return type to include the type of `NgModule` that is being returned. For
example `forRoot(): ModuleWithProviders<RouterModule>`.

But in some cases, especially those generated by nccc, these functions to not
explicitly declare `ModuleWithProviders` as their return type. Instead they
return a "intersection" type, one of whose members is a type literal that
declares the `NgModule` type returned. For example:
`forRoot(): CustomType&{ngModule:RouterModule}`.

This commit changes the `NgModuleDecoratorHandler` so that it can extract
the `NgModule` type from either kind of declaration.

PR Close #27326
2018-12-20 11:58:50 -05:00
..
animations docs(animations): rename animateChild() to animate() (#26184) 2018-12-14 15:27:37 -08:00
bazel feat: add support for typescript 3.2 (#27536) 2018-12-18 13:20:01 -08:00
benchpress build: fix type-check errors introduced during rules_ts 0.21 (#27586) 2018-12-10 16:33:41 -08:00
common fix(ivy): process creation mode deeply before running update mode (#27744) 2018-12-19 15:10:16 -05:00
compiler refactor: fix broken linting rules due to revert 2018-12-19 13:06:43 -08:00
compiler-cli feat(ivy): support NgModule metadata from calls that do not return ModuleWithProviders types (#27326) 2018-12-20 11:58:50 -05:00
core test(ivy): update root cause for core test (#27768) 2018-12-20 11:58:14 -05:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
examples docs: remove obsolete packages/examples/web_workers/ts/.gitkeep (#27386) 2018-12-05 20:55:32 -08:00
forms docs(forms): update API reference for validator directives (#26926) 2018-12-17 16:45:35 -08:00
http build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
language-service fix(compiler-cli): create LiteralLikeNode for String and Number literal (#27536) 2018-12-18 13:20:01 -08:00
platform-browser build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
platform-browser-dynamic build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
platform-server fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
platform-webworker build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
platform-webworker-dynamic build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
private/testing test(ivy): enable more @angular/core tests (#27654) 2018-12-17 16:45:53 -08:00
router feat(router): add predicate function mode for runGuardsAndResolvers (#27682) 2018-12-18 13:55:06 -08:00
service-worker build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
upgrade test(ivy): re-enable passing upgrade tests (#27736) 2018-12-18 13:19:28 -08:00
BUILD.bazel build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts build: fix our copy of Array#find typing (#27742) 2018-12-19 15:11:52 -05:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-metadata.json fix(compiler): Fix look up of entryComponents in AOT Summaries (#24892) 2018-09-11 16:23:17 -07:00
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json fix(compiler): Fix look up of entryComponents in AOT Summaries (#24892) 2018-09-11 16:23:17 -07:00
types.d.ts build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT