I am trying to shift types definition to d.ts files without importing them.
I read the docs and it says if I add this, it will work
"include": ["src", "**/*.d.ts"]
But as expected, it import all d.ts files, which I don't want. There are some type with same name having different types causing issues.
For example this is folder structure
|constants
|--index.d.ts
|--index.ts
|index.d.ts
What I was looking for was, in file constants/index.ts I want types only from constants/index.d.ts and not index.ts that is at root level. How can I achieve it.