File tree 2 files changed +3
-3
lines changed
Sources/JavaScriptBigIntSupport
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import JavaScriptKit
2
2
3
- extension UInt64 : ConvertibleToJSValue , TypedArrayElement {
3
+ extension UInt64 : JavaScriptKit . ConvertibleToJSValue , JavaScriptKit . TypedArrayElement {
4
4
public static var typedArrayClass = JSObject . global. BigUint64Array. function!
5
5
6
6
public var jsValue : JSValue { . bigInt( JSBigInt ( unsigned: self ) ) }
7
7
}
8
8
9
- extension Int64 : ConvertibleToJSValue , TypedArrayElement {
9
+ extension Int64 : JavaScriptKit . ConvertibleToJSValue , JavaScriptKit . TypedArrayElement {
10
10
public static var typedArrayClass = JSObject . global. BigInt64Array. function!
11
11
12
12
public var jsValue : JSValue { . bigInt( JSBigInt ( self ) ) }
Original file line number Diff line number Diff line change 1
1
import _CJavaScriptBigIntSupport
2
2
@_spi ( JSObject_id) import JavaScriptKit
3
3
4
- extension JSBigInt : JSBigIntExtended {
4
+ extension JSBigInt : JavaScriptKit . JSBigIntExtended {
5
5
public var int64Value : Int64 {
6
6
swjs_bigint_to_i64 ( id, true )
7
7
}
You can’t perform that action at this time.
0 commit comments