Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace mat {
  2.     export function getDependency(params: ChartParams) : graphics.Dependency {
  3.         switch (params.chartType) {
  4.             case 0: {
  5.                 let imp: graphics.ImportantPoints = {/*...*/};
  6.                 let dep = (x: number) => {
  7.                
  8.                 };
  9.                
  10.                 (dep as graphics.Dependency).impoints = imp;
  11.                 return dep;
  12.             }
  13.             //По такому же принципу
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement