I want to add code just temporary and remove it before I do commit. How to create user defined warning in typescript so compiler (or build server) will let me know that this code is still there. I don't want to forget about it. In C# there is #warning, is there something similar in TypeScript?
Example:
foo(){
// #warning: remove next line before commit, it is just for develop purposes
return true;
return someLogic(); // just this line should be there
}
DEVELOPMENTenvironment variable) to toggle the behaviour, otherwise you have to keep editing the file just to run unit tests.