feat: snaps dynamic UI #40130
Annotations
10 errors and 1 warning
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapDialogApproval/index.ts#L2
Cannot find module './SnapDialogApproval' or its corresponding type declarations.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/SnapInterfaceContext.tsx#L96
Type 'Record<string, unknown>' is not assignable to type 'StateType'.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/SnapInterfaceContext.tsx#L104
Expected 2 arguments, but got 1.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/SnapInterfaceContext.tsx#L150
Type 'undefined' cannot be used as an index type.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/SnapInterfaceContext.tsx#L154
Property 'flush' does not exist on type '(state: StateType) => void'.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/SnapInterfaceContext.tsx#L204
Type '(name: string, form: string | undefined) => string | true | { name: string; size: number; contentType: string; contents: string; } | undefined' is not assignable to type 'GetValue'.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/components/divider.ts#L3
Module '"../utils"' has no exported member 'BorderColor'.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/components/field.ts#L11
'"./button"' has no exported member named 'button'. Did you mean 'Button'?
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/components/field.ts#L52
Property 'type' does not exist on type 'InputProps'.
|
Run yarn lint:tsc:
app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts#L17
Type '{ name?: string | undefined; type?: "button" | "submit" | undefined; variant: ButtonVariants | "destructive" | "primary"; disabled?: boolean | undefined; form?: string | undefined; label: string; onPress: () => void; }[]' is not assignable to type 'ButtonProps[]'.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage", "coverage-1", "coverage-10", "coverage-2", "coverage-3", "coverage-4", "coverage-5", "coverage-6", "coverage-7", "coverage-8", "coverage-9".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading