Is there a way to instruct the CLI to search for type declarations in a specific directory named @types
?
All *.d.ts
files located in the /src
folder load and function correctly, but when I relocate them outside of /src
, they do not work.
My intention is to organize it like this (within a monorepo setup):
/@types
/shared_stuff
/project_1
/project_2
I have attempted using compilerOptions.typeRoots
without any luck.