Should Servoy raise a warning if a Number variable is stored in a String variable?
I tried the following.:
/**
* @type {Number}
*/
var documentClassSelection = 1;
/**
* @type { { documentClassSelection:String } }
*/
var reportParams = {};
reportParams.documentClassSelection = documentClassSelection + 1;
I think this, because reportParams.documentClassSelection instanceof Number returns true is that case.