Fix not initialized variables at startup
[e-mobility-charging-stations-simulator.git] / src / utils / FileUtils.ts
index 5c15734bfe97cbf7857b3199f53ece7114ff1368..b057d7f7e844b4684f823903bc22a60f98e200dd 100644 (file)
@@ -1,15 +1,14 @@
-import { JsonType, JsonValue } from '../types/JsonType';
-
 import { EmptyObject } from '../types/EmptyObject';
 import { FileType } from '../types/FileType';
 import { HandleErrorParams } from '../types/Error';
+import { JsonType } from '../types/JsonType';
 import Utils from './Utils';
 import chalk from 'chalk';
 import fs from 'fs';
 import logger from './Logger';
 
 export default class FileUtils {
-  static watchJsonFile<T extends JsonType | JsonValue>(
+  static watchJsonFile<T extends JsonType>(
     logPrefix: string,
     fileType: FileType,
     file: string,