As discussed in #650 and #2368, in Deno window === globalThis. This can be verified by running the statement in the REPL.
However, if you create a file...
// test.ts
console.log(window === globalThis);
and run deno test.ts, the tsc will throw an error, complaining that:
error TS2367: This condition will always return 'false' since the types 'typeof globalThis' and 'Window' have no overlap.
This also prevents the ability to use things like globalThis.fetch, globalThis.addEventListener, and globalThis.onload in .ts files, even though this should be perfectly safe in Deno given that all these things work in ordinary .js files and the REPL.
Debug Info
Tested on Deno v0.12.0 running on Windows 10