Support conditional compilation
On codeplex this was a popular feature request: https://typescript.codeplex.com/workitem/111 https://typescript.codeplex.com/workitem/1926 Personally I think preprocessor directives like #if, #elif, #else #endif with possibility to specify symbol to compiler would be very useful. And a way to mark function (or ambient function declaration) as Conditional (something like [ConditionalAattribute](http://msdn.microsoft.com/en-us/library/system.diagnostics.conditionalattribute%28v=vs.110%29.aspx) in C#) would be great improvement too. I have lot's of `console.log` like function calls that decrease performance of my application and ability to easily remove all calls to this function would be great.
Posted by mpawelski on Aug 13, 2014, 9:59 PM
Tags
Related issues
- Add 65536 size support for maps
- TypeScript 7.1 Iteration Plan
- nvim-treeconfig: upstream nvim-treesitter
- Add the "action" and "method" attributes to <button>
- [FEATURE] Support multiple Connector accounts (same connector, different accounts) in Claude and Claude Code on the web (claude.ai/code)
- > We were imposed GitHub for so many exercises!
Raise real-world problems, find people facing the same issue, and discuss solutions.9,000 issues0 comments
support (Software)
Add 65536 size support for maps
TypeScript 7.1 Iteration Plan
nvim-treeconfig: upstream nvim-treesitter
Add the "action" and "method" attributes to <button>
[FEATURE] Support multiple Connector accounts (same connector, different accounts) in Claude and Claude Code on the web (claude.ai/code)
> We were imposed GitHub for so many exercises!
Add support for Visual Studio 2026 Integration
Support for Helm v4
Support conditional compilation
On codeplex this was a popular feature request: https://typescript.codeplex.com/workitem/111 https://typescript.codeplex.com/workitem/1926 Personally I think preprocessor directives like #if, #elif, #else #endif with possibility to specify symbol to compiler would be very useful. And a way to mark function (or ambient function declaration) as Conditional (something like [ConditionalAattribute](http://msdn.microsoft.com/en-us/library/system.diagnostics.conditionalattribute%28v=vs.110%29.aspx) in C#) would be great improvement too. I have lot's of `console.log` like function calls that decrease performance of my application and ability to easily remove all calls to this function would be great.
Comments (0)
No comments yet. Start the discussion.