Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix wrong markdown
  • Loading branch information
gibachan committed Dec 24, 2022
commit 37bb8261794ad434a45705774da87b1bc80d49ff
5 changes: 3 additions & 2 deletions Sources/JavaScriptKit/BasicObjects/JSTypedArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ 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.
/// A wrapper around all [JavaScript `TypedArray`
/// classes](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray)
/// that exposes their properties in a type-safe way.
public class JSTypedArray<Element>: JSBridgedClass, ExpressibleByArrayLiteral where Element: TypedArrayElement {
public class var constructor: JSFunction? { Element.typedArrayClass }
public var jsObject: JSObject
Expand Down