Does anyone know how to use a global `tsconfig.jso...
# typescript
s
Does anyone know how to use a global
tsconfig.json
for Pulumi ? If I drag the
tsconfig.json
into the sub folder, it is working fine
c
Perhaps someone has a better answer for this, but you should be able to add a
tsconfig.json
file inside your
eks-infra
folder and say that it extends the one in the root of your project, like this:
Copy code
{
  "extends": "../tsconfig.json",
  ...any other options you would like to override
}
s
Thanks, this way works. I am still trying to see if I can completely get rid of the
tsconfig.json
from sub-folder
c
Instead of
files
, use
include
and specify glob paths for the dirs you want to use.