I am trying to convert some existing JavaScript code using TypeScript. One example I use is creating Highcharts classes, defining Highcharts from https://github.com/borisyankov/DefinitelyTyped/blob/master/highcharts/highcharts.d.ts
We all know that HighchartsOptions has a title property.
If I define an object this way, I have intellisense

But if I define an object this way
I do not have intellisense.
Any specific reason Visual Studio behaves differently?
hardywang
source share