angular/packages/forms/src
Dylan Hunn b302797de4 fix(forms): Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034)
Type inference in cases involving `ControlConfig` was previously not working as desired. This was because the compiler was enforcing that `ControlConfig` is a *tuple* -- which is not always that easy to prove! By relaxing this constraint a bit, and just inferring from `ControlConfig` as an array, the type inference catches many more cases, and is generally more correct.

PR Close #47034
2022-08-17 11:32:15 +00:00
..
directives refactor: improve disabled attribute warning (#47041) 2022-08-08 11:33:52 -07:00
model feat(forms): add FormBuilder.record() method (#46485) 2022-07-15 22:02:44 +00:00
directives.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
errors.ts fix(forms): Move all remaining errors in Forms to use RuntimeErrorCode. (#46654) 2022-07-06 09:49:39 -07:00
form_builder.ts fix(forms): Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034) 2022-08-17 11:32:15 +00:00
form_providers.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
forms.ts fix(forms): expose ControlConfig in public API (#46594) 2022-07-12 17:45:37 +00:00
util.ts refactor(forms): Split up model.ts. (#45217) 2022-03-01 19:49:31 +00:00
validators.ts docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00