From aac52dbc24f74f55a6e24a187255ff4e5f42a41c Mon Sep 17 00:00:00 2001 From: Dan Torberg Date: Wed, 28 Feb 2018 08:18:39 +0100 Subject: [PATCH] Update index.d.ts Added missing properties 'data' and 'name' to interface ScatterProps --- types/recharts/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 5de42776b9..dd2a262384 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -5,6 +5,7 @@ // Roy Xue // Zheyang Song // Rich Baird +// Dan Torberg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -719,6 +720,8 @@ export interface ScatterProps extends EventAttributes, Partial | ContentRenderer; points?: ScatterPoint[]; hide?: boolean; + data?: object[]; + name?: string | number; } export class Scatter extends React.Component { }