Skip to content

Update nara from master - #4872

Closed
mnaamani wants to merge 69 commits into
narafrom
master
Closed

mnaamani wants to merge 69 commits into
narafrom
master

Conversation

@mnaamani

Copy link
Copy Markdown
Member

No description provided.

@mnaamani

Copy link
Copy Markdown
Member Author

Looks like there I need to fix this:

✨ 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.

@mnaamani

Copy link
Copy Markdown
Member Author

Fixed in #4873
closing this.

@mnaamani mnaamani closed this Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants