Skip to content

refactor: add JSDoc to improve config.wath types#8201

Merged
chenjiahan merged 1 commit intomainfrom
refactor/configuration-watch
Oct 23, 2024
Merged

refactor: add JSDoc to improve config.wath types#8201
chenjiahan merged 1 commit intomainfrom
refactor/configuration-watch

Conversation

@GiveMe-A-Name
Copy link
Copy Markdown
Member

Summary

Zod types system is not easy to understand by user.

We tend use raw ts provider intellisense and jsDoc for user in ide.

  • Add type & JSDoc for config.watch
  • Add type & JSDoc for config.watchOptions

See #4241 more detail.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 23, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit bc535b8
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67185fd9be959100088808ce

@chenjiahan chenjiahan merged commit 5ee60b0 into main Oct 23, 2024
@chenjiahan chenjiahan deleted the refactor/configuration-watch branch October 23, 2024 06:14
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.

3 participants