I have a complex project in which each folder uses different options of tsconfig (such as different jsxFactory).
Here is how I have structured the project: