Hello,
I need to define rootDirs so .d.ts seems to be collocated with .js file, which it would type check. So I've set:
{
"compilerOptions": {
"rootDirs": [ "src/**/", "src/**/types/" ]
}
}
I think ** causes problems, because I have two different folders and structures I need to match with two different folders containing types.
E.g.
/src/v1/ -> /src/v1/types/
/src/v2/ -> /src/v2/types/
Would it be possible? I don't want ./src/v1/ and ./src/v2/types/ to match. I really need only v1/ and v1/types/ to look like they are in same folder (like if there is symlink).