Skip to content

fix types

fix types #331

Triggered via push December 17, 2024 21:13
Status Failure
Total duration 55s
Artifacts

ci.yml

on: push
Matrix: Static checks
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
Static checks (20.x): components/FundAccountSubmitted.tsx#L96
Type 'CadenceArgument<TypeDescriptor<string, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/account.ts#L61
Type 'CadenceArgument<TypeDescriptor<string, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/account.ts#L62
Type 'CadenceArgument<TypeDescriptor<string | number, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/account.ts#L63
Type 'CadenceArgument<TypeDescriptor<string | number, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/account.ts#L64
Type 'CadenceArgument<TypeDescriptor<string | number, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/fund.ts#L111
Type 'CadenceArgument<TypeDescriptor<{ fields: { name: string; value: (string | number)[]; }[]; }, { type: string; value: { id: string; fields: { name: string; value: JsonCdc<string, unknown>; }[]; }; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/fund.ts#L120
Type 'CadenceArgument<TypeDescriptor<string | number, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/fund.ts#L121
Type 'CadenceArgument<TypeDescriptor<string | number, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/fund.ts#L130
Type 'CadenceArgument<TypeDescriptor<string, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Static checks (20.x): lib/flow/fund.ts#L130
Type 'CadenceArgument<TypeDescriptor<string | number, { type: string; value: string; }>>' is not assignable to type 'TransactionArg'.
Tests (20.x)
Process completed with exit code 1.
Static checks (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static checks (20.x): components/Header.tsx#L32
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Static checks (20.x): components/LoadingFeedback.tsx#L24
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Static checks (20.x): components/LoadingFeedback.tsx#L24
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Static checks (20.x): components/SidebarAccordion.tsx#L142
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Static checks (20.x): components/SidebarAccordion.tsx#L142
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Static checks (20.x): pages/api/account.ts#L16
Assign arrow function to a variable before exporting as module default
Tests (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636