Open uspasojevic96 opened 10 months ago
When using typescript with following config and setting "type": "module" in package.json I can't build:
"type": "module"
{ "compilerOptions": { "esModuleInterop": true, "module": "NodeNext", "moduleResolution": "NodeNext", "target": "es6", "outDir": "dist", "rootDir": ".", "sourceMap": true, "strict": false } }
node_modules/loadtest/index.d.ts:44:1 - error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead. 44 export = loadtest;
Sorry, I don't use TypeScript myself. Care to propose a fix?
When using typescript with following config and setting
"type": "module"
in package.json I can't build: