Skip to content

Commit c24b667

Browse files
committed
Adapted TS component definitions for version 5.2.2.
1 parent 0f658ee commit c24b667

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

dist/highcharts-react.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as Highcharts from 'highcharts';
88
/**
99
* Highcharts component for React
1010
*/
11-
export declare const HighchartsReact: React.ForwardRefExoticComponent<
11+
declare const HighchartsReact: React.ForwardRefExoticComponent<
1212
React.PropsWithoutRef<HighchartsReact.Props> &
1313
React.RefAttributes<HighchartsReact.RefObject>
1414
>;
@@ -86,4 +86,5 @@ declare namespace HighchartsReact {
8686
}
8787
}
8888

89+
export { HighchartsReact };
8990
export default HighchartsReact;

dist/highcharts-react.min.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as Highcharts from 'highcharts';
88
/**
99
* Highcharts component for React
1010
*/
11-
export declare const HighchartsReact: React.ForwardRefExoticComponent<
11+
declare const HighchartsReact: React.ForwardRefExoticComponent<
1212
React.PropsWithoutRef<HighchartsReact.Props> &
1313
React.RefAttributes<HighchartsReact.RefObject>
1414
>;
@@ -86,4 +86,5 @@ declare namespace HighchartsReact {
8686
}
8787
}
8888

89+
export { HighchartsReact };
8990
export default HighchartsReact;

src/HighchartsReact.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as Highcharts from 'highcharts';
88
/**
99
* Highcharts component for React
1010
*/
11-
export declare const HighchartsReact: React.ForwardRefExoticComponent<
11+
declare const HighchartsReact: React.ForwardRefExoticComponent<
1212
React.PropsWithoutRef<HighchartsReact.Props> &
1313
React.RefAttributes<HighchartsReact.RefObject>
1414
>;
@@ -86,4 +86,5 @@ declare namespace HighchartsReact {
8686
}
8787
}
8888

89+
export { HighchartsReact };
8990
export default HighchartsReact;

0 commit comments

Comments
 (0)