Skip to content

Fix/strict typechecking #634

Fix/strict typechecking

Fix/strict typechecking #634

Triggered via pull request November 18, 2023 03:10
Status Failure
Total duration 47s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
prettier
Process completed with exit code 1.
build: relayer/utils.ts#L98
Argument of type 'T[Extract<keyof T, string>] | undefined' is not assignable to parameter of type 'Partial<unknown>'.
build: relayer/middleware/tokenBridge.middleware.ts#L157
Argument of type 'ParsedVaaWithBytes | undefined' is not assignable to parameter of type 'ParsedVaa'.
build: relayer/middleware/tokenBridge.middleware.ts#L158
Argument of type 'SignedVaa | undefined' is not assignable to parameter of type 'SignedVaa'.
build: relayer/middleware/tokenBridge.middleware.ts#L182
Type 'ParsedTokenTransferVaa | null' is not assignable to type 'ParsedTokenTransferVaa | undefined'.
build: relayer/middleware/tokenBridge.middleware.ts#L183
Type '{ payloadType: TokenBridgePayload.Transfer | TokenBridgePayload.TransferWithPayload; amount: bigint; tokenAddress: Buffer; tokenChain: number; to: Buffer; toChain: number; fee: bigint | null; fromAddress: Buffer | null; tokenTransferPayload: Buffer; } | null' is not assignable to type 'TokenTransfer | undefined'.
build: relayer/middleware/wallet/wallet.middleware.ts#L168
Argument of type 'Logger | undefined' is not assignable to parameter of type 'Logger'.
build: relayer/middleware/missedVaasV3/check.ts#L160
Argument of type 'bigint | undefined' is not assignable to parameter of type 'bigint'.
build: relayer/middleware/missedVaasV3/worker.ts#L198
Argument of type 'bigint | null' is not assignable to parameter of type 'bigint | undefined'.
build
Process completed with exit code 1.