Skip to content

Conversation

johanbook
Copy link
Collaborator

@johanbook johanbook commented Dec 3, 2024

A small improvement to the validation type so one can do

    const { data, isValid } = form.validate();

    if (!isValid) {
      return;
    }
 
   // `data` is now inferred to be non-null

@johanbook johanbook requested a review from agjs December 3, 2024 15:49
Copy link
Collaborator

@agjs agjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is awesome, @johanbook! Thank you!

@agjs agjs merged commit 76215de into master Dec 4, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants