Your rootDir is currently set to "./". Please change your rootDir to "./src".
Your rootDir is currently set to "./". Please change your rootDir to "./src".
TSDX has deprecated setting tsconfig.compilerOptions.rootDir to "./" as it caused buggy output for declarationMaps and more.
You may also need to change your include to remove "test", which also caused
解释:
TSDX已经将tsconfig.compilerOptions.rootDir to './'弃用了,需要把tsconfig.json里的rootDir由'./'改为'./src',或者把test文件夹删了。
但无论是tsconfig.json还是test文件夹(单测)都是npx tsdx create xxx自动生成的。。。