maxtpham / extts

ExtTS for ExtJS 4.x, 5.x, 6.x - Premium TypeScript type definitions for Sencha Ext JS
40 stars 11 forks source link

MessageBox visibility #3

Open rusco opened 8 years ago

rusco commented 8 years ago

In the "ext-6.0.2-classic.d.ts" file are two MessageBox definitions:

Line 12811:

    export class MessageBox ...

and Line 122499:

export class MessageBox extends Ext.window.Window implements Ext.window.MessageBoxConfig ..

Only the first definition is visible to VStudio Code 1.1.1 for code completion, the latter with the "confirm" method is not.

I am including only this line:

///<reference path="ext-6.0.2-classic.d.ts"/>

I assume this ts def file is supposed to work stand alone, right ? No other .d.ts files required ? (Question with later prio: Aliases like "Ext.Msg" are supposed to work) ?

Thanks for looking into this.

maxtpham commented 8 years ago

The generation has not completed yet, and while using the def, we have to fix some. With similar bug as above (missing MessageBox)

I have just publish the source, so welcome everyone to look into this and make a pull request to make the def better for the community.