Closed
Description
Let's say you develop a library in ts. The library is then included into js and ts projects. Would it make sense for the latter to allow including just the compiled js file, but still have the typings?
lib.js:
...
//# sourceTypingsURL=lib.d.ts
//# sourceMappingURL=lib.js.map
foo.ts:
/// <reference path="lib.js" />
...
This would also allow to embed other js files without invalidating the source map.