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: mark createDOMPurify param as optional #1028

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

MiniDigger
Copy link
Contributor

Summary

this PR properly marks the createDOMPurify/DOMPurify ctor param as optional, since it has a default defined. it also documents said default.

Background & Context

this broke my build when updating ^^
thanks for taking the time to add types tho, one less @types package :)

Tasks

none

Dependencies

none

@cure53 cure53 merged commit 8e1c70a into cure53:main Nov 19, 2024
8 checks passed
@MiniDigger MiniDigger deleted the optional-dompurify-argument-type branch November 20, 2024 10:18
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.

2 participants