Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No overload matches this call. #8

Open
R-qanawati opened this issue Apr 10, 2024 · 0 comments
Open

No overload matches this call. #8

R-qanawati opened this issue Apr 10, 2024 · 0 comments

Comments

@R-qanawati
Copy link

R-qanawati commented Apr 10, 2024

Hey Team,

I attempted to clone this repo and follow the instructions but it throws error on compilation.

return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^
TSError: ⨯ Unable to compile TypeScript:
src/modules/relayer/relayer.service.ts:46:60 - error TS2769: No overload matches this call.
  The last overload gave the following error.
    Argument of type '"executeRelayCall"' is not assignable to parameter of type '"target"'.

46   const transactionData = lsp6Interface.encodeFunctionData("executeRelayCall", [
                                                              ~~~~~~~~~~~~~~~~~~

  'types/ethers-v5'/LSP6KeyManagerInit.ts:121:3
    121   encodeFunctionData(functionFragment: "target", values?: undefined): string;
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The last overload is declared here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant