@types/react-highcharts
Advanced tools
Comparing version
@@ -27,3 +27,3 @@ // Type definitions for react-highcharts 16.0 | ||
*/ | ||
isPureConfig?: boolean; | ||
isPureConfig?: boolean | undefined; | ||
} | ||
@@ -30,0 +30,0 @@ |
{ | ||
"name": "@types/react-highcharts", | ||
"version": "16.0.2", | ||
"version": "16.0.3", | ||
"description": "TypeScript definitions for react-highcharts", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts", | ||
"license": "MIT", | ||
@@ -25,4 +26,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "6788ed65d46e9396cdb6357c2c6ee3330d55727b0fa58048954d0402b42238d9", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "75ebafbfcc6dbe59b0f59577c5956602e5dfdc88444e5afc67bf8b3820708fba", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,51 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts/index.d.ts) | ||
````ts | ||
// Type definitions for react-highcharts 16.0 | ||
// Project: https://github.com/kirjs/react-highcharts | ||
// Definitions by: Jiri Marsicek <https://github.com/j1r1k> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.8 | ||
Additional Details | ||
* Last updated: Thu, 07 Nov 2019 19:53:17 GMT | ||
* Dependencies: @types/highcharts, @types/react | ||
import * as Highcharts from "highcharts"; | ||
import * as React from "react"; | ||
/** | ||
* Props for ReactHighcharts component. | ||
*/ | ||
interface ReactHighchartsProps { | ||
/** | ||
* Highcharts configuration options. | ||
*/ | ||
config: Highcharts.Options; | ||
/** | ||
* | ||
* @param after-render callback. | ||
*/ | ||
callback?(chart: Highcharts.ChartObject): void; | ||
/** | ||
* Chart will not rerender if the config is referentially equal to previous and this property is true | ||
*/ | ||
isPureConfig?: boolean | undefined; | ||
} | ||
/** | ||
* React interface for highcharts. | ||
*/ | ||
declare class ReactHighcharts extends React.Component<ReactHighchartsProps> { | ||
static Highcharts: Highcharts.Static; | ||
} | ||
export default ReactHighcharts; | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:20:46 GMT | ||
* Dependencies: [@types/highcharts](https://npmjs.com/package/@types/highcharts), [@types/react](https://npmjs.com/package/@types/react) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Jiri Marsicek <https://github.com/j1r1k>. | ||
These definitions were written by [Jiri Marsicek](https://github.com/j1r1k). |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4752
36.75%0
-100%58
241.18%