0๐
โ
I solve my issue by change the tsconfig.json file
from this :
"lib": ["es5", "es6", "dom"],
"module": "esnext",
"target": "es6",
"moduleResolution": "node",
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
to this :
"lib": ["es5", "es6", "dom"],
"module": "commonjs",
"target": "esnext",
"types": ["node", "jest"]
"moduleResolution": "node",
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
Now the generated files entities have no circular declaration problem.
Source:stackexchange.com