I was able to fix the charts example because the warning came from
manually written JS. I just changed {SVGElement} to {Object}. Maybe not
100% the best solution, but it quelled the warning.

This code is cross-compiled from ActionScript so I cannot easily make the
same fix.

‹peter

On 9/2/15, 3:02 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
<omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:

>Sorry I don't know the answer, but wanted to point out that I have seen
>similar warnings in the regular FlexJS JS build outputs as well.  i.e. in
>the Charts example.
>
>Thanks,
>Om
>
>On Wed, Sep 2, 2015 at 10:29 AM, Peter Ent <p...@adobe.com> wrote:
>
>> Hi,
>>
>> When I build the flexjs/examples/native/USStatesMap project, I get a set
>> of warning from the cross-compile step such as:
>>
>>
>>      [java] WARNING:
>> flex-asjs/examples/native/USStatesMap/bin/js-debug/USStatesMap.js:33:
>> WARNING - Bad type annotation. Unknown type SVGElement
>>
>>      [java]  * @type {SVGElement}
>>
>>      [java]           ^
>>
>> Does anyone know how to suppress these?
>>
>> Thanks,
>> Peter Ent
>> Adobe Systems
>>
>>

Reply via email to