Here's a situation where I have come up with a solution using two ts config files. The structure of the solution looks like this.
The main tsconfig.json at the root level is as follows:
{
"compilerOptions": {
"declaration": true,
"outFile": "Test/Namespace.js"
}
}
Meanwhile, Test\tsconfig.json remains empty.
In order for Test.ts to function correctly, Namespace.d.ts needs to be created. However, creating Namespace.d.ts causes the build to crash due to compilation errors. This occurs because Test\tsconfig.json is compiled first, leading to conflicts in the compilation order.
Is there any way to modify the compilation order for tsconfig files or proceed with the build even when encountering other tsconfig errors?