ngneat / reactive-forms

(Angular Reactive) Forms with Benefits 😉

Home Page:https://www.netbasal.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect get method typings

strigefleur opened this issue · comments

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