diff --git a/README.md b/README.md index 738a2646..7f57ee65 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ const clean = DOMPurify.sanitize(dirty); Or maybe this, if you love working with Angular or alike: ```js -import * as DOMPurify from 'dompurify'; +import DOMPurify from 'dompurify'; const clean = DOMPurify.sanitize('hello there'); ```