There is this new feature in TypeScript 3.0 called Project References. It suggests better interaction of *.ts
modules between themselves. Unfortunately, this is all I could get from the official documentation 😞 although it seems to be written pretty clearly and straightforward.
Can anyone help me understand exactly, what problems does it solve, how does it do that, and how would I benefit from it? I have a project with a similar structure, so it might (or might not) be very helpful for it. Thank you in advance!
UPD: The project structure is roughly:
project/
lib/
index.ts # defines the original code
test/
index.spec.ts # requires lib/index.ts
package.json
tsconfig.json