Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b1b3024

Browse files
committedOct 15, 2024·
Suppress retroactive conformance warnings in Swift 6
1 parent 8975112 commit b1b3024

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎Sources/JavaScriptBigIntSupport/Int64+I64.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import JavaScriptKit
22

3-
extension UInt64: ConvertibleToJSValue, TypedArrayElement {
3+
extension UInt64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
44
public static var typedArrayClass = JSObject.global.BigUint64Array.function!
55

66
public var jsValue: JSValue { .bigInt(JSBigInt(unsigned: self)) }
77
}
88

9-
extension Int64: ConvertibleToJSValue, TypedArrayElement {
9+
extension Int64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
1010
public static var typedArrayClass = JSObject.global.BigInt64Array.function!
1111

1212
public var jsValue: JSValue { .bigInt(JSBigInt(self)) }

‎Sources/JavaScriptBigIntSupport/JSBigInt+I64.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _CJavaScriptBigIntSupport
22
@_spi(JSObject_id) import JavaScriptKit
33

4-
extension JSBigInt: JSBigIntExtended {
4+
extension JSBigInt: JavaScriptKit.JSBigIntExtended {
55
public var int64Value: Int64 {
66
swjs_bigint_to_i64(id, true)
77
}

0 commit comments

Comments
 (0)
Please sign in to comment.