convert timeseries.js to TS

This commit is contained in:
Alexander Zobnin
2020-05-07 11:56:41 +03:00
parent e7cd31c75c
commit ffb1862094
2 changed files with 44 additions and 54 deletions

View File

@@ -351,8 +351,3 @@ export function getArrayDepth(a, level = 0) {
export function isNumeric(n: any): boolean {
return !isNaN(parseFloat(n)) && isFinite(n);
}
// Fix for backward compatibility with lodash 2.4
if (!_.includes) {
_.includes = (_ as any).contains;
}