From b0b66881b4a3628c4557dc3ece99c579aafdcdca Mon Sep 17 00:00:00 2001 From: Keen Yee Liau Date: Thu, 12 Mar 2020 13:22:51 -0700 Subject: [PATCH] docs(common): Add missing entry for NgForOfContext.count (#36046) `count` is available in `NgForOfContext` but it's missing in the docs. PR Close #36046 --- packages/common/src/directives/ng_for_of.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/common/src/directives/ng_for_of.ts b/packages/common/src/directives/ng_for_of.ts index 32d5955c99..02d8243690 100644 --- a/packages/common/src/directives/ng_for_of.ts +++ b/packages/common/src/directives/ng_for_of.ts @@ -85,6 +85,7 @@ export class NgForOfContext = NgIterable> { * more complex then a property access, for example when using the async pipe (`userStreams | * async`). * - `index: number`: The index of the current item in the iterable. + * - `count: number`: The length of the iterable. * - `first: boolean`: True when the item is the first item in the iterable. * - `last: boolean`: True when the item is the last item in the iterable. * - `even: boolean`: True when the item has an even index in the iterable.