File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Sources/JavaScriptKit/BasicObjects Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,14 @@ extension UInt32: TypedArrayElement {
135
135
public static var typedArrayClass = JSObject . global. Uint32Array. function!
136
136
}
137
137
138
- // FIXME: Support passing BigInts across the bridge
139
- // See https://github.com/swiftwasm/JavaScriptKit/issues/56
140
- //extension Int64: TypedArrayElement {
141
- // public static var typedArrayClass = JSObject.global.BigInt64Array.function!
142
- //}
143
- //extension UInt64: TypedArrayElement {
144
- // public static var typedArrayClass = JSObject.global.BigUint64Array.function!
145
- //}
138
+ #if !JAVASCRIPTKIT_WITHOUT_BIGINTS
139
+ extension Int64 : TypedArrayElement {
140
+ public static var typedArrayClass = JSObject . global . BigInt64Array . function!
141
+ }
142
+ extension UInt64 : TypedArrayElement {
143
+ public static var typedArrayClass = JSObject . global . BigUint64Array . function!
144
+ }
145
+ #endif
146
146
147
147
extension Float32 : TypedArrayElement {
148
148
public static var typedArrayClass = JSObject . global. Float32Array. function!
You can’t perform that action at this time.
0 commit comments