feat: added NuxtRoute
type export, allowing typing own props
#449
Annotations
10 errors and 1 warning
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/foo"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/foo/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
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>'.
|
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>'.
|
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"'?
|
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/38789803/settings"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/panel/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/admin/panel/938783/"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/user/38873-"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
test/fixtures/simple/tests/router/NuxtLink.spec-d.ts#L1
Type '"/user/38673/bar/#hash"' is not assignable to type 'NuxtRoute<RoutesNamesList, string, false>'.
|
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/
|
The logs for this run have expired and are no longer available.
Loading