You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/JavaScriptKit/Documentation.docc/Articles/BridgeJS/Unsupported-Features.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,10 @@ extension LibPoint {
27
27
}
28
28
```
29
29
30
-
### From another Swift package
30
+
### Exporting Swift: non-`@JS` types from another Swift module
31
+
32
+
While using `@JS` types from another Swift module is supported, it is not possible to use non-`@JS` types defined in other modules: this will fail at type lookup.
33
+
34
+
### Exporting Swift: types from another Swift package
31
35
32
36
Types defined in a separate Swift package cannot yet be referenced from `@JS` declarations in your package.
0 commit comments