-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Description
➜ substrate-api-sidecar git:(master) ✗ yarn build
rimraf-exec: build/ is an invalid file path and does not exist
tsc
src/controllers/blocks/BlocksController.ts:324:47 - error TS2345: Argument of type 'IU8a' is not assignable to parameter of type 'BlockHash'.
Types of property 'buffer' are incompatible.
Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'.
324 const block = await this.service.fetchBlock(hash, historicApi, options);
~~~~
src/controllers/rc/blocks/RcBlocksController.ts:158:47 - error TS2345: Argument of type 'IU8a' is not assignable to parameter of type 'BlockHash'.
Types of property 'buffer' are incompatible.
Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'.
Type 'SharedArrayBuffer' is not assignable to type 'ArrayBuffer'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"SharedArrayBuffer"' is not assignable to type '"ArrayBuffer"'.
158 const block = await this.service.fetchBlock(hash, historicApi, options);
~~~~
Metadata
Metadata
Assignees
Labels
No labels