Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace mat {
- export function getDependency(params: ChartParams) : graphics.Dependency {
- switch (params.chartType) {
- case 0: {
- let imp: graphics.ImportantPoints = {/*...*/};
- let dep = (x: number) => {
- };
- (dep as graphics.Dependency).impoints = imp;
- return dep;
- }
- //По такому же принципу
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement