Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better TypeScript + Scala.js integration #3701

Open
1 task
xerial opened this issue Oct 28, 2024 · 0 comments
Open
1 task

Better TypeScript + Scala.js integration #3701

xerial opened this issue Oct 28, 2024 · 0 comments

Comments

@xerial
Copy link
Member

xerial commented Oct 28, 2024

Although ScalablyTyped makes easier to build facade to use TypeScript libraries in Scala.js, mapping types between Scala.js and TypeScript is not so fun.

  • Using JS ecosystem like Vite.js with Scala.js is no problem. It works like a charm.

  • Can we have a better approach, such as using Scala.js code (e.g., Rx, RxElement, RPC client) from TypeScript side so that we can leverage more JS ecosystem? ScalablyTyped is the opposite direction.

  • async - await in TS -> RPCClient call support

Related https://www.scala-js.org/doc/interoperability/export-to-javascript.html

@xerial xerial converted this from a draft issue Oct 28, 2024
@xerial xerial changed the title Better TypeScript integration Better TypeScript + Scala.js integration Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant