webSocketSendArrayBufferLike.ts(3,13): error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'string | Blob | BufferSource'.
  Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'ArrayBufferView<ArrayBuffer>'.
    Types of property 'buffer' are incompatible.
      Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
        Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength


==== webSocketSendArrayBufferLike.ts (1 errors) ====
    declare const socket: WebSocket;
    declare const bytes: Uint8Array;
    socket.send(bytes);
                ~~~~~
!!! error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'string | Blob | BufferSource'.
!!! error TS2345:   Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'ArrayBufferView<ArrayBuffer>'.
!!! error TS2345:     Types of property 'buffer' are incompatible.
!!! error TS2345:       Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
!!! error TS2345:         Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength
    socket.send(new Uint8Array(8));
    