Skip to content

feat: added NuxtRoute type export, allowing typing own props #449

feat: added NuxtRoute type export, allowing typing own props

feat: added NuxtRoute type export, allowing typing own props #449

Triggered via push November 27, 2023 15:06
Status Failure
Total duration 1m 30s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build-test.yml

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

Annotations

10 errors and 1 warning
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/foo"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/foo/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/38789803/action-bar#hash"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/38789803/action-bar?query=bar"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/foo/profile/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'. Did you mean '"/admin/:id/profile"'?
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/38789803/settings"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/panel/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/panel/938783/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/user/38873-"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x): test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/user/38673/bar/#hash"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/