Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Currently using standard Google Closure Library defines is a bit finicky due to requiring the user to remember that tests must be hinted (otherwise a _truth test is emitted, defeating tree shaking). Given that we have extern processing we could trivially extract type information for the required Google Closure library and allow users to skip the hint.

A first pass would be just to make this work for goog.** namespaces, later we can consider Closure compatible libraries.

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/CLJS-2988 (reported by dnolen)