fix(forms): FormBuilder.group return right type with shorthand arguments#48084
fix(forms): FormBuilder.group return right type with shorthand arguments#48084JeanMeche wants to merge 1 commit intoangular:mainfrom
Conversation
686dbb9 to
861160a
Compare
|
@JeanMeche Thanks for your PR! However, this is actually not a complete solution. Consider the case of the other |
|
@dylhunn Correct me if i'm wrong, but Or would you prefer having |
|
@JeanMeche Ah, I see, it doesn't work because I think we don't want users tripping over the same mistake I made. Perhaps we could define an interface local in where What do you think? |
…ters. Extract AbstractControlOptions from type when used in shorthand parameters on FormBuilder.group Fixes 48073
861160a to
2e52ec3
Compare
|
@dylhunn Sounds reasonable to me ! I updated the PR ! |
|
This PR was merged into the repository by commit d321880. |
|
@JeanMeche Thanks for the PR! This will be out in 15.0.1 next week. |
|
@JeanMeche This is now released. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…ters. (angular#48084) Extract AbstractControlOptions from type when used in shorthand parameters on FormBuilder.group Fixes 48073 PR Close angular#48084
Extract AbstractControlOptions from type when used in shorthand argumentson FormBuilder.groups
Fixes #48073
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?