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

chore: Removed unnecessary type casting #1434

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

4xii
Copy link

@4xii 4xii commented Nov 2, 2023

Submit a pull request for this project.

Why?

Related to which issue? No specific issue.
Why we need this pull request? To optimize the code by removing unnecessary type casting, making it cleaner and more understandable.
What is the user story for this pull request? As a developer, I want the code to be as clean and understandable as possible to facilitate future maintenance and updates.

What?

Can you describe this feature in detail? Removed unnecessary type casting in the initialization of DOMPurify.
Who can benefit from it? Developers and contributors who will maintain and update this code in the future.
How?

How?

Do you have a simple description of how this pull request is implemented? Modified the code by removing the as any type casting.

@CLAassistant
Copy link

CLAassistant commented Nov 2, 2023

CLA assistant check
All committers have signed the CLA.

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.

None yet

3 participants