Hi, is there any interest in reusing jsweet's cand...
# javascript
j
Hi, is there any interest in reusing jsweet's candies to open up type safe access to js libraries? They're basically automatic translations of TypeScript *.d.ts files into Java interfaces and native method stubs. They actually look incredibly similar to the stubs already available in the kotlin-js-library, eg for jquery. I've tried referencing them from a maven project, but it doesn't build. I'm guessing it might be because the kotlin-js compiler isn't prepared to reference any external jars other than the kotlin-js-library? The candies don't have any implementations, just abstract classes with native methods. There are already 1600+ candies (http://www.jsweet.org/candies-snapshots/) and an online tool that can automatically translate typescript definitions, so this could be a huge integration win.