Is that expected the qux member has no JSDoc and is emitted as a simple var?

If I compile that emitted JS back to AS3, how the EXTERNC is suppose to guess 
the Type without JSDoc and react if a class implementing the interface use 
getter / setter ?

package interfaces {
import foo.Qux;

public interface IImport {
    function get qux():Qux;
    function set qux(value:Qux):void;
}
}


Emitted to:

/**
 * interfaces.IImport
 *
 * @fileoverview
 *
 * @suppress {checkTypes}
 */

goog.provide('interfaces_IImport');

/**
 * @interface
 */
interfaces_IImport = function() {};
interfaces_IImport.prototype.qux;


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
interfaces_IImport.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'IImport', 
qName: 'interfaces_IImport'}] };

Thanks,
Frédéric THOMAS                                           

Reply via email to