-
Couldn't load subscription status.
- Fork 13.1k
Closed
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionOut of ScopeThis idea sits outside of the TypeScript language design constraintsThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Hi,
We have this particular use-case.
Say we have two projects: MyLib.csproj and MyClient.csproj.
For each project we'd like to
- Generate a single declarations file and have it created in the bin directory, e.g. MyLib.d.ts
- Redirect all JavaScript output to the bin directory.
- Not have the JavaScript files combined, instead we have a matching .js file for each .ts file.
This would enable the following
- The ability to reference types in another project using a single include,
e.g.
<reference path="MyLib.d.ts" />- The ability to debug JavaScript files individually in the browser.
At present the "Combine JavaScript output into file" option combines both the JavaScript and the declarations file.
I suggest another check box for "Combine declarations output into file".
Thanks.
Metadata
Metadata
Assignees
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionOut of ScopeThis idea sits outside of the TypeScript language design constraintsThis idea sits outside of the TypeScript language design constraintsSuggestionAn idea for TypeScriptAn idea for TypeScript