diff --git a/types/react-icon-base/index.d.ts b/types/react-icon-base/index.d.ts index e60719a762..0bd0005244 100644 --- a/types/react-icon-base/index.d.ts +++ b/types/react-icon-base/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-icon-base 2.0 +// Type definitions for react-icon-base 2.1 // Project: https://github.com/gorangajic/react-icon-base#readme // Definitions by: Alexandre Paré , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -6,12 +6,8 @@ import * as React from "react"; -export = IconBaseClass; - -declare namespace IconBaseClass { - interface IconBaseProps extends React.SVGProps { - size?: string | number; - } +export interface IconBaseProps extends React.SVGProps { + size?: string | number; } -declare class IconBaseClass extends React.Component {} +export default class IconBaseClass extends React.Component {} diff --git a/types/react-icon-base/react-icon-base-tests.tsx b/types/react-icon-base/react-icon-base-tests.tsx index cb4fe929a9..d89f97a2ca 100644 --- a/types/react-icon-base/react-icon-base-tests.tsx +++ b/types/react-icon-base/react-icon-base-tests.tsx @@ -1,4 +1,4 @@ import * as React from "react"; -import * as IconBase from "react-icon-base"; +import IconBase from "react-icon-base"; export default ; diff --git a/types/recompose/tsconfig.json b/types/recompose/tsconfig.json index 4c56e4b125..4aae173e9b 100644 --- a/types/recompose/tsconfig.json +++ b/types/recompose/tsconfig.json @@ -22,4 +22,4 @@ "index.d.ts", "recompose-tests.tsx" ] -} \ No newline at end of file +}