Bladeren bron

Fix "_" issue.

FAMBL 1 jaar geleden
bovenliggende
commit
8d8b6123a2
3 gewijzigde bestanden met toevoegingen van 6 en 4 verwijderingen
  1. 2 2
      services/query.service.ts
  2. 2 1
      test/test1.ts
  3. 2 1
      test/test2.ts

+ 2 - 2
services/query.service.ts

@@ -1,8 +1,8 @@
 import * as fs from 'fs'
-import { _, isObject, get } from 'lodash'
+import {  isObject, get } from 'lodash'
 import { Observable, Subject, interval, map, of } from 'rxjs'
 import { DataPrepService } from './dataprep.service'
-
+import _ = require("lodash")
 export class queryService {
 
     private dataPrepService : DataPrepService

+ 2 - 1
test/test1.ts

@@ -5,7 +5,8 @@ data to be filtered
 import { Observable } from "rxjs"
 import { queryService } from "../services/query.service"
 import { Conditions, Storage } from "../services/query.service"
-import { _, isObject } from 'lodash'
+import {  isObject } from 'lodash'
+import _ = require("lodash")
 
 let query = new queryService()
 

+ 2 - 1
test/test2.ts

@@ -5,7 +5,8 @@ data to be filtered
 import { Observable } from "rxjs"
 import { queryService } from "../services/query.service"
 import { Conditions, Storage } from "../services/query.service"
-import { _, isObject } from 'lodash'
+import { isObject } from 'lodash'
+import _ = require("lodash")
 
 let query = new queryService()