This project is read-only.

How to use Ext.MessageBox.OK with typescript

Topics: General
Dec 7, 2013 at 8:31 PM
I am using type definitions for ExtJS 4.2.1 from VS 2013.

How to use constans Ext.MessageBox.OK Ext.MessageBox.OKCANCEL etc.. in TS script? (<Ext.IMessageBox>Ext.MessageBox).OK = compilation error "Cannot convert ... Ext.MessageBox; }' to 'Ext.window.IMessageBox"

Ext.MessageBox does'not implements Ext.IMessageBox

If i change ExtJs.d.ts with manual adding "Ext.MessageBox implements Ext.IMessageBox" I get error with getBubbletarget signature does not match interface.

What i must to do? Add getBubbletarget with needed signature to MessageBox?
Dec 8, 2013 at 12:38 PM

The question seems to be application specific and I'm guessing that you need to chase up the author of the definitions file on Definitely Typed.

Or try StackOverflow.