I'd like to use Scala.js to write libraries to then use in web applications written in TypeScript. This requires TypeScript type bindings (*.d.ts file) to be generated by Scala.js for my library. Does Scala.js support this?
Can Scala.js generate TypeScript d.ts type bindings?
Asked Answered
Old but you can have a look at Scala-TS (I'm a contributor of) –
Bragdon
thanks! github.com/scala-ts/scala-ts is cool. imo, the Scala and Scala.js communities have done a terrible job integrating JS libraries written in Scala into the broader JS ecosystem. Scala should be an extremely popular web language, instead it's insular and niche. –
Lykins
No, Scala.js currently does not support this.
See Scala.js issue #3836 for potential follow-up and updates.
© 2022 - 2024 — McMap. All rights reserved.