mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
672 B
Plaintext
11 lines
672 B
Plaintext
assignSharedArrayBufferToArrayBuffer.ts(1,5): error TS2322: Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
|
|
Types of property '[Symbol.toStringTag]' are incompatible.
|
|
Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'.
|
|
|
|
|
|
==== assignSharedArrayBufferToArrayBuffer.ts (1 errors) ====
|
|
var foo: ArrayBuffer = new SharedArrayBuffer(1024); // should error
|
|
~~~
|
|
!!! error TS2322: Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
|
|
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
|
|
!!! error TS2322: Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'. |