aykutkardas/react-icomoon

TypeScript type for `IconSetItem` breaks on v2.3.x

rohrlaf opened this issue · 0 comments

There is a faulty type declaration for IconSetItem which was introduced in #13.

  • aykutkardas/react-icomoon/src/index.tsx
  • node_modules/react-icomoon/dist/index.d.ts
declare type IconSetItem = {
    properties: {
        name: "string";
    };
    icon: {
        paths: [];
        attrs: [];
        width?: string;
    };
};

Relates to #9 and #13.