remove type csvtojson
MODIFY
package-lock.json
package-lock.json
"resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.10.tgz",
"integrity": "sha512-C7srjHiVG3Ey1nR6d511dtDkCEjxuN9W1HWAEjGq8kpcwmNM6JJkpC0xvabM7BXTG2wDq8Eu33iH9aQKa7IvLQ=="
},
- "@types/csvtojson": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/@types/csvtojson/-/csvtojson-1.1.5.tgz",
- "integrity": "sha512-REZcfXN1h2JLoSc066GAdUKP2OpNiG3mIpgyjZWB5RKhBOZc5xmAZwavbP6O7vKMZ+jYTqbwUNucMBl7dw68JA==",
- "dev": true,
- "requires": {
- "@types/node": "*"
- }
- },
"@types/debug": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.5.tgz",

MODIFY
package.json
package.json
"@types/chai-subset": "^1.3.3",
"@types/convict": "^5.2.2",
"@types/cors": "^2.8.10",
- "@types/csvtojson": "^1.1.5",
"@types/ejs": "^3.0.6",
"@types/express": "^4.17.11",
"@types/faker": "^5.1.6",

MODIFY
src/server/rest/v1/service/UserService.ts
src/server/rest/v1/service/UserService.ts
@@ -842,7 +842,7 @@ export default class UserService {
delimiter: ['\t'],
quote: 'off'
});
- converter.subscribe(async (user) => {
+ void converter.subscribe(async (user) => {
await UserService.importUser(action, req, user);
}, (error) => {
throw new AppError({

remove type csvtojson