-
Notifications
You must be signed in to change notification settings - Fork 788
Singleton Pattern Externs Inference Support
David Nolen edited this page Feb 10, 2017
·
3 revisions
Currently externs inference is well suited for interop patterns that involve foreign JS instances, for example a function that takes a instance of React.Element
. However, the feature is poorly suited for the popular singleton pattern employed by libraries like jQuery and D3 where all the interesting operations are provided through a single instance.
- Rationale
- Quick Start
- Differences from Clojure
- [Usage of Google Closure](Google Closure)