Post
Bridging options: 1. Annotate a Swift class or type with @JS to create bindings for JS/TS code 2. Import an existing JavaScript class or function with @JSClass or @JSFunction on the Swift side 3. Or create a bridge-js.d.ts file to export TypeScript APIs to Swift
0 reposts3 likes
BridgeJS landed as an MVP just two weeks ago, and is evolving fast. Check it out with the interactive playground — paste Swift, and see the generated results live: swiftwasm.org/JavaScriptKi... Docs here: swiftpackageindex.com/swiftwasm/ja...