✨ openapi-typescript 4.5.0
🔭 Loading spec from file:///Users/mokhtar/joystream/joystream/storage-node/src/api-spec/openapi.yaml…
🚀 ./src/api-spec/openapi.yaml -> /Users/mokhtar/joystream/joystream/storage-node/src/services/webApi/types/generated.ts [141ms]
$ tsc --build ./client/tsconfig.json
$ tsc --build tsconfig.json && mkdir -p ./lib/api-spec && cp ./src/api-spec/openapi.yaml ./lib/api-spec/openapi.yaml
src/services/runtime/extrinsics.ts:121:47 - error TS2352: Conversion of type 'SpRuntimeDispatchError' to type 'DispatchError' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Types of property 'asToken' are incompatible.
Type 'SpRuntimeTokenError' is missing the following properties from type 'TokenError': isUnderflow, isOverflow
121 error: formatDispatchError(api, e.data[0] as DispatchError),
~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
Looks like there I need to fix this: