Skip to content

Conversation

@Ovoda
Copy link
Contributor

@Ovoda Ovoda commented Jul 10, 2025

This PR fixes the watch() function documentation, which previously listed incorrect overloads.

Before

watch(name: string, defaultValue?): unknown
watch(names: string[], defaultValue?): {[key:string]: unknown}
watch(): {[key:string]: unknown}

After

watch(name: string, defaultValue?: unknown): unknown
watch(names: string[], defaultValue?: {[key:string]: unknown}): unknown[]
watch(): {[key:string]: unknown}

@vercel
Copy link

vercel bot commented Jul 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hook-form-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2025 2:28pm

@netlify
Copy link

netlify bot commented Jul 10, 2025

Deploy Preview for sage-cassata-31d224 ready!

Name Link
🔨 Latest commit d59dc1f
🔍 Latest deploy log https://app.netlify.com/projects/sage-cassata-31d224/deploys/686fcdbce366dd0008a273bb
😎 Deploy Preview https://deploy-preview-1159--sage-cassata-31d224.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bluebill1049 bluebill1049 merged commit e9499f9 into react-hook-form:master Jul 10, 2025
5 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