angular-docs-cn/packages
Tobias Bosch 5c34066058 fix(compiler): only warn for `@Injectable` classes with invalid args.
In v2.x, users had to annotate classes that they intended to use as tokens with `@Injectable`. This is no longer required in v4.x for tokens,
and we now require the constructor parameters of classes annotated
with `@Injectable` to be statically analyzable by ngc.

This commit reduces the error into a warning
if the constructor parameters do not meet this condition.

DEPRECATION:
- Classes annotated with `@Injectable` but whose constructor’s parameter types
  are not statically analyzable by ngc will produce a warning.

Closes #15003
2017-03-14 19:52:53 -07:00
..
animations refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
benchpress refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
common fix: element injector vs module injector (#15044) 2017-03-14 16:26:17 -07:00
compiler fix(compiler): only warn for `@Injectable` classes with invalid args. 2017-03-14 19:52:53 -07:00
compiler-cli fix(compiler): generated code should pass `noUnusedLocals` check 2017-03-14 19:52:53 -07:00
core fix(core): don’t throw if queries change during change detection. 2017-03-14 19:52:53 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
forms fix(forms): remove equalsTo validator (#15050) 2017-03-14 15:37:51 -07:00
http refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
language-service fix(compiler): only warn for `@Injectable` classes with invalid args. 2017-03-14 19:52:53 -07:00
platform-browser refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
platform-browser-dynamic refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
platform-server test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
platform-webworker refactor(core): use flags in `Renderer2.setStyle` instead of booleans (#15045) 2017-03-13 09:45:04 -07:00
platform-webworker-dynamic refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
router fix: element injector vs module injector (#15044) 2017-03-14 16:26:17 -07:00
upgrade feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
README.md refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08: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 refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
router-license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig.json test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
types.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08: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