mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Because
- `Form` is **exported** -- see line 30/31 of
`modules/@angular/forms/src/forms.ts`: i.e., <br>`export {Form} from
'./directives/form_interface'`; and
- Methods of `Form`, which are public, have an
`AbstractFormGroupDirective` parameter;
e.g.,<br>`Form.getFormGroup(dir: AbstractFormGroupDirective):
FormGroup`.
Then it makes sense for `AbstractFormGroupDirective` to be
public/exported too. In any case, if it isn't exported then the **API
docs for `Form` don't get generated properly.**
|
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| index.ts | ||
| package.json | ||
| rollup.config.js | ||
| tsconfig-es5.json | ||
| tsconfig-es2015.json | ||