Swift Languageswiftlang@mastodon.social
Mar 3, 2026, 5:29 PMBridging 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