repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): apply updates
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
ConfigurationUtils.ts
diff --git
a/src/utils/ConfigurationUtils.ts
b/src/utils/ConfigurationUtils.ts
index 50bad0fad6fe8be75da647b4c9d875d681d1f975..73bd9ceb8dbf4124ad34ed8962c94493f75be671 100644
(file)
--- a/
src/utils/ConfigurationUtils.ts
+++ b/
src/utils/ConfigurationUtils.ts
@@
-5,7
+5,7
@@
import chalk from 'chalk';
import { Constants } from './Constants';
import { isNotEmptyString, logPrefix as utilsLogPrefix } from './Utils';
import { Constants } from './Constants';
import { isNotEmptyString, logPrefix as utilsLogPrefix } from './Utils';
-import { FileType, StorageType } from '../types';
+import {
type ElementsPerWorkerType,
FileType, StorageType } from '../types';
import { WorkerProcessType } from '../worker';
export const logPrefix = (): string => {
import { WorkerProcessType } from '../worker';
export const logPrefix = (): string => {
@@
-68,7
+68,7
@@
export const checkWorkerProcessType = (workerProcessType: WorkerProcessType): vo
};
export const checkWorkerElementsPerWorker = (
};
export const checkWorkerElementsPerWorker = (
- elementsPerWorker:
number | 'auto' | 'all'
| undefined,
+ elementsPerWorker:
ElementsPerWorkerType
| undefined,
): void => {
if (
elementsPerWorker !== undefined &&
): void => {
if (
elementsPerWorker !== undefined &&