Tuesday, January 26, 2016

Re: GWT and DefinitelyTyped

 
are there any plans/thoughts of using DefinitelyTyped with GWT - maybe in GWT 3.x?
http://definitelytyped.org/ 

i.e. it would be great to generate GWT js-interop code from the DefinitelyTyped type-script definitions.
then GWT would immediately have type-safe access to all the DefinitelyTyped supported libs 

is this technically possible at all?

I think I have read somewhere that Elemental 2.0 will be generated from TypeScript definitions which would hopefully mean that the Elemental 2.0 generator works with any TypeScript definition file to produce JsInterop code. 

If I am wrong I am pretty sure someone will implement such a thing. I think the main challenge with any generator is that JsInterop 1.0 might miss some features that you need to workaround during the generation process.

-- J.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment