Skip to content
New issue

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

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

Already on GitHub? # to your account

Add throwError?: boolean to types that need it #189

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

csprance
Copy link
Contributor

Add throwError?: boolean; to RequestSizeLimiter, RateLimiter, XssValidator types so nuxt.config.ts doesn't complain when you include it.

Types of changes

  • [ x ] Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Add throwError?: boolean; to RequestSizeLimiter, RateLimiter, XssValidator types so nuxt.config.ts doesn't complain when you include it.
Resolves:
#188

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

…lidator types so nuxt.config.ts doesn't complain when you include it.
@vercel
Copy link

vercel bot commented Jul 29, 2023

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

Name Status Preview Comments Updated (UTC)
nuxt-security ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2023 3:32pm

Copy link
Owner

@Baroshem Baroshem left a comment

Choose a reason for hiding this comment

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

Great job!

@Baroshem Baroshem merged commit 6ba5272 into Baroshem:main Jul 30, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants