I have seen .map
files for TypeScript. What I want to know is what these files are for. Do they contain references to other files referenced in the .ts file?<
.map files are source map files that let tools map between the emitted JavaScript code and the TypeScript source files that created it. Many debuggers (e.g. Visual Studio or Chrome's dev tools) can consume these files so you can debug the TypeScript file instead of the JavaScript file.
This is the same source map format being produced by some minifiers and other compiled-to-JS languages like CoffeeScript.