Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* [deps] [email protected]

* [chart] lint SuperChart
  • Loading branch information
williaster authored and zhaoyongjie committed Nov 25, 2021
1 parent ac272d6 commit c44091b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.idea
.npm
.prettierignore
.vscode
.yarnclean

*.log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
],
"license": "Apache-2.0",
"devDependencies": {
"@data-ui/build-config": "^0.0.36",
"@data-ui/build-config": "^0.0.37",
"husky": "^1.1.2",
"lerna": "^3.2.1",
"lint-staged": "^8.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,21 +123,17 @@ export default class SuperChart extends React.PureComponent<SuperChartProps, {}>
);
}

processChartProps: (
input: {
chartProps: ChartProps;
preTransformProps?: TransformFunction<ChartProps>;
transformProps?: TransformFunction;
postTransformProps?: TransformFunction;
},
) => any;

createLoadableRenderer: (
input: {
chartType: string;
overrideTransformProps?: TransformFunction;
},
) => LoadableRenderer<RenderProps, LoadedModules> | (() => null);
processChartProps: (input: {
chartProps: ChartProps;
preTransformProps?: TransformFunction<ChartProps>;
transformProps?: TransformFunction;
postTransformProps?: TransformFunction;
}) => any;

createLoadableRenderer: (input: {
chartType: string;
overrideTransformProps?: TransformFunction;
}) => LoadableRenderer<RenderProps, LoadedModules> | (() => null);

renderChart(loaded: LoadedModules, props: RenderProps) {
const Chart = getModule<typeof React.Component>(loaded.Chart);
Expand Down

0 comments on commit c44091b

Please sign in to comment.