Send to Kindle
home » snippets » typescript

Modules / Imports / Dependencies

From section 11.1.1 of the spec:

11.1.1 Source Files Dependencies

The TypeScript compiler automatically determines a source file’s dependencies and includes those dependencies in the program being compiled. The determination is made from “reference comments” and external import declarations as follows: