At the time (mid-2014), there were a bunch of closure-compiler forks around that were trying to reconcile closure-compiler's view of the world with NodeJS's view of the world. I saw the same type-checked externs for NodeJS builtins in a few different places.
We decided to check them into the closure-compiler repo. I hoped that this would:
1) reduce duplicated effort
2) demonstrate willingness from closure-compiler team in making them work
3) help the different forks converge towards a solution that was baked into closure-compiler
In practice, this didn't happen. Typescript picked up steam. FlowJS came out later in 2014. Both of them had better answers to type-checking NodeJS apps. So I think most of the people working on this decided to back those solutions instead.
--
---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/89e93f72-35ae-4810-8565-18113fe7ef06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Also relevant-but-disappointing: this answer by Chad Killingsworth to "How do you define node_modules as externs in Closure Compiler?"