Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Not all validators are set to ValidatorFn #242

Open
OmgImAlexis opened this issue Jul 6, 2021 · 0 comments
Open

Not all validators are set to ValidatorFn #242

OmgImAlexis opened this issue Jul 6, 2021 · 0 comments

Comments

@OmgImAlexis
Copy link

Describe the bug
Not all of the built in validators are set to ValidatorFn because of this I see errors in my editor.

To Reproduce
Add this library and open VSCode.

Expected behavior
Not to see these errors.

Screenshots
Before.
Screen Shot 2021-07-06 at 1 13 09 pm

After the suggested changes.
Screen Shot 2021-07-06 at 1 13 50 pm

Info

  • Version 3.14.0

Additional context
To fix this all the validators in https://github.com/asigloo/vue-dynamic-forms/blob/master/src/core/utils/validators.ts should have their return type set to ValidatorFn.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant