Context: NOT node. Rather, I'm targeting a C# wrapper around JScript (ES3 mostly.) So I don't want to use explicit export/import technologies. I just want my d.ts files to be parsed and used in VSCode to resolve symbols.
I'm trying to separate my custom types from my source folder butβ¦
Top comments (1)
My work around is as follows:
@types
folders that I want to reference.tsconfig.json
I havewhich causes VSCode to parse the
declare
statements therein.I expect that I will still have to include a
typeRoots
so that compilation works. Currently the compilation process (which involves runningtsc
and then renaming the resulting.js
files to.rr
or.ri
) complains about the symbols that VSCode can see buttsc
can't.