nivekcode / svg-to-ts

Build performant SVG icon libraries by converting raw SVG files to TypeScript that is optimized for modern tree shaking mechanisms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When generating an interface, Icon's do not implement the Interface

trdyer opened this issue · comments

When processing Icon's with a much older version (5.4.0) the typescript files that are generated use the interface generated when interfaceName is supplied.

When upgrading to 5.6.0 or newer the icons implement an identical but anonymous type that is generated per icon.

I didn't see anything in the changelog surrounding the change. Is there a reason why having the icon implement the interface isn't being done?