Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MswParameters handlers type #146

Merged
merged 2 commits into from May 5, 2024
Merged

Fix MswParameters handlers type #146

merged 2 commits into from May 5, 2024

Conversation

jarojasm95
Copy link
Contributor

The type does not seem to match the docs which say:

type MswParameter = {
  handlers: RequestHandler[] | Record<string, RequestHandler | RequestHandler[]>
}

ref

Copy link

vercel bot commented Apr 19, 2024

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

Name Status Preview Comments Updated (UTC)
msw-storybook-addon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 0:59am

Copy link
Collaborator

@yannbf yannbf left a comment

Choose a reason for hiding this comment

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

Great catch! Thanks!!

@yannbf yannbf added the patch Increment the patch version when merged label May 5, 2024
@yannbf yannbf merged commit 9e31318 into mswjs:main May 5, 2024
2 checks passed
Copy link

github-actions bot commented May 5, 2024

🚀 PR was released in v2.0.2 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants