if it's an array (like a javascript array) use name = "Array".

If it is an Object that encapsulates array functionality use "Object".



On Fri, Aug 18, 2017 at 5:05 PM, Vassilis Virvilis <[email protected]>
wrote:

> Try to annotate it with
>
>     @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object")
>
> Hope that helps
>
>
>
> On Fri, Aug 18, 2017 at 5:01 PM, Kirill Prazdnikov <[email protected]>
> wrote:
>
>> Hi, I`m always getting ClassCastException if I use @JsType(isNative =
>> true) object as a generic template argument.
>>
>> Is it possbile to do something with that ?
>> Is it possbile to avoid check-cast generation if the generic is used with
>> @JsType type ?
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Vassilis Virvilis
>



-- 
Vassilis Virvilis

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to