My question pertains to using the Monaco Editor with custom TypeScript code. The illustration shown below is intended to highlight the issue:
var Scheduler = {
configModel: function (): SchedulerConfig {
return null;
},
ConfigModelCap: function (): SchedulerConfig {
return null;
},
}
Integrating it into the editor has been smooth, but I've noticed that "configModel" always displays as a function (white), while "ConfigModelCap" displays as a class (green):
Is there a way to configure it to display consistently in both cases?