Skip to content

feat: experimental typed routes #6904

feat: experimental typed routes

feat: experimental typed routes #6904

Triggered via pull request September 30, 2024 11:06
Status Failure
Total duration 1m 45s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: lint
Matrix: test
Matrix: edge-release
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Lint on Node.js 18: src/runtime/composables/index.ts#L391
This assertion is unnecessary since it does not change the type of the expression
Lint on Node.js 18
Process completed with exit code 1.
Test on Node.js 18: dist/runtime/components/NuxtLinkLocale.ts#L36
Argument of type 'RouteLocationAsPathGeneric | RouteLocationNamedI18n<string | number | symbol>' is not assignable to parameter of type 'string | number | symbol | RouteLocationAsRelativeGeneric'.
Test on Node.js 18: dist/runtime/components/NuxtLinkLocale.ts#L57
No overload matches this call.
Test on Node.js 18: dist/runtime/components/NuxtLinkLocale.ts#L74
Argument of type 'LooseRequired<Readonly<Omit<NuxtLinkProps, "to"> & { to?: RouteLocationNamedI18n<string | number | symbol> | undefined; locale?: string | undefined; }> & Readonly<...> & {}>' is not assignable to parameter of type 'NuxtLinkProps'.
Test on Node.js 18: dist/runtime/components/NuxtLinkLocale.ts#L84
No overload matches this call.
Test on Node.js 18: src/runtime/components/NuxtLinkLocale.ts#L36
Argument of type 'RouteLocationAsPathGeneric | RouteLocationNamedI18n<string | number | symbol>' is not assignable to parameter of type 'string | number | symbol | RouteLocationAsRelativeGeneric'.
Test on Node.js 18: src/runtime/components/NuxtLinkLocale.ts#L57
No overload matches this call.
Test on Node.js 18: src/runtime/components/NuxtLinkLocale.ts#L74
Argument of type 'LooseRequired<Readonly<Omit<NuxtLinkProps, "to"> & { to?: RouteLocationNamedI18n<string | number | symbol> | undefined; locale?: string | undefined; }> & Readonly<...> & {}>' is not assignable to parameter of type 'NuxtLinkProps'.
Test on Node.js 18: src/runtime/components/NuxtLinkLocale.ts#L84
No overload matches this call.
Test on Node.js 18
Process completed with exit code 1.