Skip to content

fix(useToast): add in queue and improve unique ids #290

fix(useToast): add in queue and improve unique ids

fix(useToast): add in queue and improve unique ids #290

Triggered via push January 24, 2025 10:11
Status Failure
Total duration 2m 24s
Artifacts

module.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
build (ubuntu-latest, 22): src/runtime/components/Toaster.vue#L108
Argument of type '{ class: (string | { 'cursor-pointer': boolean; })[]; style: { '--index': number; '--before': number; '--offset': number; '--scale': string; '--translate': string; '--transform': string; }; dataExpanded: boolean; ... 18 more ...; 'onUpdate:open': any; }' is not assignable to parameter of type '{ readonly as?: any; readonly title?: string | undefined; readonly description?: string | undefined; readonly icon?: string | undefined; readonly avatar?: AvatarProps | undefined; ... 17 more ...; readonly onSwipeEnd?: ((event: SwipeEvent) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustom...'.
build (ubuntu-latest, 22): src/runtime/components/Toaster.vue#L127
Argument of type '{ readonly id: string | number; readonly click?: ((toast: Toast) => void) | undefined; readonly close?: boolean | { readonly label?: string | undefined; readonly color?: "error" | "info" | "primary" | ... 4 more ... | undefined; ... 38 more ...; readonly prefetchOn?: "visibility" | ... 2 more ... | undefined; } | un...' is not assignable to parameter of type 'Toast'.
build (ubuntu-latest, 22)
Process completed with exit code 2.
build (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636