diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 5159fd827b..a46cbd09b8 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -8,6 +8,7 @@ // Dan Torberg // Peter Keuter // Jamie Saunders +// Paul Melnikow // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -832,7 +833,7 @@ export class Treemap extends React.Component { } export class Label extends React.Component { } -export interface LabelProps { +export interface LabelProps extends Partial { angle?: number; viewBox?: ViewBox | PolarViewBox; formatter?: LabelFormatter; diff --git a/types/recharts/recharts-tests.tsx b/types/recharts/recharts-tests.tsx index 739afefc55..855a5c9e75 100644 --- a/types/recharts/recharts-tests.tsx +++ b/types/recharts/recharts-tests.tsx @@ -88,7 +88,7 @@ class Component extends React.Component<{}, ComponentState> { - +