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 f458fb6 commit 1f8710bCopy full SHA for 1f8710b
1 file changed
Sources/JavaScriptFoundationCompat/Data+JSValue.swift
@@ -1,4 +1,8 @@
1
+#if canImport(FoundationEssentials)
2
+import FoundationEssentials
3
+#else
4
import Foundation
5
+#endif
6
import JavaScriptKit
7
8
/// Data <-> Uint8Array conversion. The conversion is lossless and copies the bytes at most once per conversion
0 commit comments