Skip to content

Conversation

RohanHart
Copy link

This fixes the staticTemplates errors in Ivy but loses type safety in nested controls. The core of the fix is export type AbstractControl<T> = NgAbstractControl & TypedAbstractControl<T>; which does't lose too much type safety as the FormGroup, etc., override the intersection types with stronger ones.

A small benefit is that non-typed methods do not need to be included here as they will be inherited.

Rohan Hart added 2 commits November 18, 2019 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant