angular/modules/@angular/common/src/directives
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
..
index.ts feat(common): rename underlying NgFor class and add a type parameter (#14104) 2017-02-01 09:29:51 -06:00
ng_class.ts refactor(common): remove some facade usages 2017-01-10 14:31:30 -05:00
ng_component_outlet.ts feat(NgComponentOutlet): add NgModule support to NgComponentOutlet directive (#14088) 2017-01-25 17:41:08 -08:00
ng_for_of.ts feat(common): rename underlying NgFor class and add a type parameter (#14104) 2017-02-01 09:29:51 -06:00
ng_if.ts docs(ngIf): fix typos (#13630) 2016-12-22 12:36:47 -08:00
ng_plural.ts fix(common): support numeric value as discrete cases for NgPlural (#13876) 2017-01-13 13:52:35 -06:00
ng_style.ts fix(core): Add type information to differs 2017-01-09 18:56:34 -05:00
ng_switch.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
ng_template_outlet.ts feat(NgTemplateOutlet): Make NgTemplateOutlet compatible with * syntax 2017-01-06 19:30:20 -05:00