dom-serializer icon indicating copy to clipboard operation
dom-serializer copied to clipboard

chore: Migrate to TypeScript class format to allow DomSerializer extension

Open sunriize opened this issue 1 year ago • 0 comments

Hi ! 👋

I'm using dom-serializer in a project and i needed to extend the behavior.

In order to do so i had to rework the code to use a TypeScript class and then create a subclass of "DomSerializer".

I've decided to push this as a PR as it can be useful to others 😀

sunriize avatar Nov 01 '22 20:11 sunriize