Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit ae1d776

Browse files
author
exoego
committed
Fix typing issue on Scala.js 1.0
1 parent 37c1454 commit ae1d776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/nodejs-v10/src/test/scala/io/scalajs/nodejs/buffer/BufferTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class BufferTest extends AnyFunSpec {
4747
import scala.scalajs.js.typedarray.Int8Array
4848
val nodeBuffer = Buffer.from(js.Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))
4949
val typedarray = new Int8Array(nodeBuffer.buffer, nodeBuffer.byteOffset, nodeBuffer.length)
50-
assert(typedarray.mkString === new Int8Array(js.Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)).mkString)
50+
assert(typedarray.mkString === new Int8Array(js.Array[Byte](0, 1, 2, 3, 4, 5, 6, 7, 8, 9)).mkString)
5151
}
5252

5353
it("should support byteLength for specific types") {

0 commit comments

Comments
 (0)