angular-docs-cn/tools/public_api_guard/common
Chuck Jazdzewski 82bcd83566 feat(compiler): allow ngIf to use the ngIf expression directly as a guard
Allows a directive to use the expression passed directly to a property
as a guard instead of filtering the type through a type expression.

This more accurately matches the intent of the ngIf usage of its template
enabling better type inference.

Moved NgIf to using this type of guard instead of a function guard.

Closes: #20967
2017-12-18 12:09:21 -08:00
..
http feat: deprecate @angular/http in favor of @angular/common/http (#18906) 2017-08-28 18:46:58 -05:00
common.d.ts feat(compiler): allow ngIf to use the ngIf expression directly as a guard 2017-12-18 12:09:21 -08:00
http.d.ts fix(http): introduce named type for HttpParams options (#19360) 2017-09-26 15:02:08 -07:00
testing.d.ts fix(common): return ISubscription from Location.subscribe() (#20429) 2017-11-22 08:55:10 -06:00