From 4d704188db47a2575a4ee45289d355bc69c1110d Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 2 May 2022 14:06:24 +0100 Subject: [PATCH] Remove outdated `BigInt` support `FIXME` from `JSTypedArray` The link issue has already been closed, so this comment doesn't seem to be relevant. --- Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift b/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift index 04c1710d6..39ec2aa21 100644 --- a/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift +++ b/Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift @@ -10,8 +10,8 @@ public protocol TypedArrayElement: ConvertibleToJSValue, ConstructibleFromJSValu static var typedArrayClass: JSFunction { get } } -/// A wrapper around all JavaScript [TypedArray](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) classes that exposes their properties in a type-safe way. -/// FIXME: [BigInt-based TypedArrays are currently not supported](https://github.com/swiftwasm/JavaScriptKit/issues/56). +/// A wrapper around all JavaScript [TypedArray](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) +/// classes that exposes their properties in a type-safe way. public class JSTypedArray: JSBridgedClass, ExpressibleByArrayLiteral where Element: TypedArrayElement { public class var constructor: JSFunction { Element.typedArrayClass } public var jsObject: JSObject