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

Incorrect get method typings #158

Open
strigefleur opened this issue May 5, 2022 · 0 comments
Open

Incorrect get method typings #158

strigefleur opened this issue May 5, 2022 · 0 comments

Comments

@strigefleur
Copy link

Is this a regression?

No

Description

Docs mention that I can get control by using get method:

const name = group.get('name'); // FormControl<string>

Actual result is

const name = group.get('name'); // string

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

"typescript": 4.4.4,
"@ngneat/reactive-forms": 4.1.0

Anything else?

No response

Do you want to create a pull request?

No

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

No branches or pull requests

1 participant