src/services/common/BaseApiConfig.ts:1:15 - error TS2305: Module '"ts-xor"' has no exported member 'XOR'.
1 import type { XOR } from 'ts-xor';
~~~
src/services/common/BaseApiConfig.ts:1:26 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("ts-xor")' call instead.
To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `"type": "module"` to '/Users/volker/PhpstormProjects/bap-esim/package.json'.
1 import type { XOR } from 'ts-xor';
~~~~~~~~
"target": "es2022",
"module": "Node16",
"outDir": "dist",
"sourceMap": true,
"incremental": true,
"declaration": true,
"removeComments": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"typeRoots": ["./src/types", "node_modules/@types"],
"allowJs": false,
"allowSyntheticDefaultImports": true,
"baseUrl": "src",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"noEmit": false,
"pretty": true,
"skipLibCheck": true,
"strict": false,
"alwaysStrict": true,
"strictBindCallApply": true,