angular-cn/modules/@angular/language-service
Chuck Jazdzewski 86b2b2504f feat(common): rename underlying `NgFor` class and add a type parameter (#14104)
Note, this affects the underlying class and should not affect usage.

DEPRECATION:
- the `NgFor` class is now deprecated. Use `NgForOf<T>` instead.
  IMPORTANT: Only the `NgFor` class is deprecated, not the `ngFor`
  directive. The `*ngFor` and related directives are unaffected by
  this change  as references to the `NgFor` class generated from
  templates will be automatically converted to references to
  `NgForOf<T>` without requiring any template modifications.
- `TrackByFn` is now deprecated. Use `TrackByFunction<T>` instead.

Migration:
- Replace direct references to the `NgFor` class to `NgForOf<any>`.
- Replace references to `TrackByFn` to `TrackByFunction<any>`.

BREAKING CHANGE:
A definition of `Iterable<T>` is now required to correctly compile
Angular applications. Support for `Iterable<T>` is not required at
runtime but a type definition `Iterable<T>` must be available.

`NgFor`, and now `NgForOf<T>`, already supports `Iterable<T>` at
runtime. With this change the type definition is updated to reflect
this support.

Migration:
- add "es2015.iterable.ts" to your tsconfig.json "libs" fields.

Part of #12398

PR Close #14104
2017-02-01 09:29:51 -06:00
..
src feat(common): rename underlying `NgFor` class and add a type parameter (#14104) 2017-02-01 09:29:51 -06:00
test fix(language-service): do not crash when Angular cannot be located (#14123) 2017-01-31 15:45:52 -06:00
index.ts feat(language-service): support TS2.2 plugin model 2017-01-09 15:00:40 -05:00
package.json docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
rollup.config.js refactor(build): fix build location of compiler-cli esm module (#13212) 2016-12-02 15:19:52 -08:00
tsconfig-build.json fix(language-service): update to use `CompilerHost` from compiler-cli (#13189) 2016-12-02 14:34:16 -08:00