November 2018
Beginner
502 pages
10h 22m
English
The first step in setting up TypeScript 3's multiple projects feature is to reference projects using a new field called references in tsconfig.json. This field is an array of objects that specify projects to reference.
In our working example, let's make ProjectA start to understand the Shared project:
{ "compilerOptions": { ... }, "references": [ { "path": "../shared" } ]}
"references": [ { "path": "../shared", "prepend": true }]
We're not going to use prepend in our example though. ...
Read now
Unlock full access