What does the "=" do in ```export class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {```

Viewed 25
1 Answers

If you don't pass anything to U, then U will fall back to NgIterable<T> as a default value.

See docs

Related