Skip to content

Commit

Permalink
doc: add supported version for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanarmstrong committed Feb 23, 2024
1 parent 4a7d7dd commit 222210b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ If `esModuleInterop=true` is not set in your `tsconfig.json` file, you have to i
import * as sanitizeHtml from 'sanitize-html';
```

When using TypeScript, there is a minimum supported version of >=4.5 because of a dependency on the `htmlparser2` types.

Any questions or problems while using `@types/sanitize-html` should be directed to its maintainers as directed by that project's contribution guidelines.

## How to use
Expand Down

0 comments on commit 222210b

Please sign in to comment.