feat: added NuxtRoute
type export, allowing typing own props
#449
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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/
|