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

How to use this packages in typescript project. #288

Open
sheikharifulislam opened this issue Apr 13, 2024 · 1 comment
Open

How to use this packages in typescript project. #288

sheikharifulislam opened this issue Apr 13, 2024 · 1 comment

Comments

@sheikharifulislam
Copy link

I want to use this package in my typescript project. How I will use this?

@axe312ger
Copy link

axe312ger commented May 15, 2024

Yes something is off. There are types but my TS (5) complains about no types existing :(

Edit:

My quick and dirty hack... I copied the file node_modules/xss/typings/xss.d.ts to my projects typings folder. TS is happy now. I can continue :)

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

No branches or pull requests

2 participants