fix: .extend performance #716
Annotations
10 errors
Check types:
src/actions/public/watchBlockNumber.test.ts#L465
Type 'false' is not assignable to type 'true'.
|
Check types:
src/actions/public/watchBlocks.test.ts#L806
Type 'false' is not assignable to type 'true'.
|
Check types:
src/actions/public/watchContractEvent.test.ts#L1368
Type 'false' is not assignable to type 'true'.
|
Check types:
src/actions/public/watchEvent.test.ts#L978
Type 'false' is not assignable to type 'true'.
|
Check types:
src/celo/formatters.test-d.ts#L161
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'PrepareTransactionRequestParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, undefined...'.
|
Check types:
src/celo/formatters.test-d.ts#L182
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SendTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, SendTransactionRequ...'.
|
Check types:
src/celo/formatters.test-d.ts#L196
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SignTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, Omit<...> | ... 15 ...'.
|
Check types:
src/celo/formatters.test-d.ts#L210
Argument of type '{ chain: { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }; feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipien...' is not assignable to parameter of type 'SendTransactionParameters<undefined, { address: "0x"; type: "json-rpc"; }, { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; ... 10 more ...; fees: ChainFees<...>; }, SendTransactionRequest<...>>'.
|
Check types:
src/clients/decorators/public.ts#L1841
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
|
Check types:
src/clients/decorators/wallet.ts#L706
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
|
Loading