Can Scala.js generate TypeScript d.ts type bindings?
Asked Answered
L

1

6

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?

Lykins answered 6/11, 2019 at 22:54 Comment(2)
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
F
2

No, Scala.js currently does not support this.

See Scala.js issue #3836 for potential follow-up and updates.

Fluctuate answered 8/11, 2019 at 5:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.