// object extensions from apputils interface String { replaceAll: (search: string, replace: string) => string; } interface Map { toObject: () => any; toArray: () => any[]; toToupleArray: () => [string, any][]; // MapToupleArray } interface Array { mathMax: () => number; mathMin: () => number; arrayDiff: (arr: any[]) => any[]; shuffle: () => void; }