I have 2 typescript files -
a.ts:
let some : string = "some";
b.ts:
console.log(some);
If I compile both files by adding them to include option in tsconfig (or by giving both on the command line), there is no error about some being undefined in b.ts. How can I compile both files separately? It doesn't even make sense for them to share namespace in the first place.