vue-dynamic-forms
vue-dynamic-forms copied to clipboard
Not all validators are set to ValidatorFn
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.

After the suggested changes.

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.