angular-cn/packages/language-service
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
..
src fix(compiler): only warn for `@Injectable` classes with invalid args. 2017-03-14 19:52:53 -07:00
test refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json refactor: More generic build.sh file 2017-03-08 16:29:28 -08:00
rollup.config.js refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
tsconfig-build.json build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00