Skip to content

Commit

Permalink
Suppress retroactive conformance warnings in Swift 6
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Oct 15, 2024
1 parent 7aebc40 commit 10e4291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/JavaScriptBigIntSupport/Int64+I64.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import JavaScriptKit

extension UInt64: ConvertibleToJSValue, TypedArrayElement {
extension UInt64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
public static var typedArrayClass = JSObject.global.BigUint64Array.function!

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

extension Int64: ConvertibleToJSValue, TypedArrayElement {
extension Int64: JavaScriptKit.ConvertibleToJSValue, JavaScriptKit.TypedArrayElement {
public static var typedArrayClass = JSObject.global.BigInt64Array.function!

public var jsValue: JSValue { .bigInt(JSBigInt(self)) }
Expand Down
2 changes: 1 addition & 1 deletion Sources/JavaScriptBigIntSupport/JSBigInt+I64.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _CJavaScriptBigIntSupport
@_spi(JSObject_id) import JavaScriptKit

extension JSBigInt: JSBigIntExtended {
extension JSBigInt: JavaScriptKit.JSBigIntExtended {
public var int64Value: Int64 {
swjs_bigint_to_i64(id, true)
}
Expand Down

0 comments on commit 10e4291

Please sign in to comment.