Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ControlConfig type under @angular/forms #46570

Open
prabh-62 opened this issue Jun 28, 2022 · 2 comments
Open

Expose ControlConfig type under @angular/forms #46570

prabh-62 opened this issue Jun 28, 2022 · 2 comments
Labels
comp: forms good first issue help wanted
Milestone

Comments

@prabh-62
Copy link

@prabh-62 prabh-62 commented Jun 28, 2022

Which @angular/* package(s) are the source of the bug?

forms

Is this a regression?

No

Description

Expose ControlConfig type in public API

export type ControlConfig<T> = [T|FormControlState<T>, (ValidatorFn|(ValidatorFn[]))?, (AsyncValidatorFn|AsyncValidatorFn[])?];

https://github.com/angular/angular/blob/main/packages/forms/src/form_builder.ts#L32

So, ControlConfig type can be consumed within applications:
import { ControlConfig } from '@angular/forms';

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

@dylhunn dylhunn added help wanted comp: forms good first issue labels Jun 29, 2022
@ngbot ngbot bot added this to the needsTriage milestone Jun 29, 2022
@ngbot ngbot bot added this to the needsTriage milestone Jun 29, 2022
@zeeshanadnan
Copy link

@zeeshanadnan zeeshanadnan commented Jun 29, 2022

Hi can i work on it?

@udaysonyy
Copy link

@udaysonyy udaysonyy commented Jun 29, 2022

Hello i'm new to open source, i think i can work on this issue, if it is still not assigned yet can i work on it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: forms good first issue help wanted
Projects
None yet
Development

No branches or pull requests

4 participants