edmundhung / conform

A type-safe form validation library utilizing web fundamentals to progressively enhance HTML Forms with full support for server frameworks like Remix and Next.js.
https://conform.guide
MIT License
1.8k stars 101 forks source link

FieldConfig error property JSDoc comment #702

Closed N1ckSL closed 1 month ago

N1ckSL commented 2 months ago

Describe the bug and the expected behavior

In the FieldConfig interface, error property comment has a typo:

Conform version

v0.9.1

Steps to Reproduce the Bug or Issue

  1. Hover over a field error (Ex: fields.field_name.error) and you will see the description of the error property
  2. Apple: command + click on the error to get to the property definition Windows: control + click on the error to get to the property definition
  3. See the JSDoc comment for error property

What browsers are you seeing the problem on?

No response

Screenshots or Videos

No response

Additional context

Exact file: node_modules/@conform-to/react/hooks.d.ts

edmundhung commented 1 month ago

Thanks for the issue! It seems like this only happens on v0. Unfortunately, we can't make a patch for v0 anymore due to limited resources. If you need help migrating to v1, feel free to ask in the discussion tab.