We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8360705 commit 7aa5adcCopy full SHA for 7aa5adc
array.js
@@ -1,6 +1,6 @@
1
import { assertTypedArray } from './assert.js'
2
3
-const { Buffer } = globalThis // Buffer is optional
+const Buffer = globalThis.Buffer // Buffer is optional
4
5
export function typedView(arr, format) {
6
assertTypedArray(arr)
0 commit comments