Hi Alexandre,
there will be no externs/olx.js file any more. Types for constructor
options will be defined next to the constructor, other types will have
typedefs. These type definitions can also be used by applications.
We will continue to use JSDoc annotations, but the types in the
annotations will be changed to Closure path types (see
https://github.com/google/closure-compiler/wiki/JS-Modules#type-references).
We will still provide a full build (ol.js, ol-debug.js). The npm task
that creates that build will also serve as type checker, and will use
Closure Compiler because of the type checking. For users, we recommend
to use the ES modules that OpenLayers 5.x provides natively. It is up
to the user which set of tools to use, but we have made good
experience with Webpack and Babel Minifier.
I hope this clarifies things. Don't hesitate to ask if anything is unclear.
Andreas.
On Mon, Jan 15, 2018 at 3:42 PM, Alexandre Dubé via OpenLayers Dev
<
openlayers-dev+APn2wQczcP2xIhKH_...@googlegroups.com>
wrote:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenLayers Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
openlayers-de...@googlegroups.com.
> To post to this group, send email to
openlay...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/openlayers-dev.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/openlayers-dev/5a14c6ce-d90d-4dad-b4de-9a7b68dd8cea%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.