marsidev / react-turnstile

Cloudflare Turnstile integration for React.
https://www.npmjs.com/package/@marsidev/react-turnstile
MIT License
414 stars 25 forks source link

Update handling-expiration.mdx #25

Closed kika closed 1 year ago

kika commented 1 year ago

The code sample as given generates "method reset() is not available on type 'never'"

docs-page[bot] commented 1 year ago

To view this pull requests documentation preview, visit the following URL:

docs.page/marsidev/react-turnstile~25

Documentation is deployed and generated using docs.page.

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
react-turnstile ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2023 4:44pm
marsidev commented 1 year ago

Hey, @kika! Thanks for your contribution. However, I already provide TypeScript code snippets. So, I think this change is not needed.

image

kika commented 1 year ago

my bad, getting blind :-)