We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868edd2 commit bbaa0a5Copy full SHA for bbaa0a5
Tests/BridgeJSRuntimeTests/ExportAPITests.swift
@@ -1,5 +1,5 @@
1
import XCTest
2
-import JavaScriptKit
+@_spi(Experimental) import JavaScriptKit
3
import JavaScriptEventLoop
4
5
@_extern(wasm, module: "BridgeJSRuntimeTests", name: "runJsWorks")
@@ -33,9 +33,9 @@ func runJsWorks() -> Void
33
return v
34
}
35
36
-@JSClass class Foo {
+@JSClass final class Foo {
37
@JSGetter var value: String
38
- @JSFunction init(_ value: String) throws(JSException)
+ @JSFunction convenience init(_ value: String) throws(JSException)
39
40
41
@JS func makeImportedFoo(value: String) throws(JSException) -> Foo {
0 commit comments