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

Not all validators are set to ValidatorFnΒ #242

Open
@OmgImAlexis

Description

@OmgImAlexis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions