feat: add new regex routing #5804
ci.yml
on: pull_request
Matrix: build
Matrix: lint
Matrix: test
Matrix: edge-release
Annotations
10 errors
Test on Node.js 18:
test/pages/localize_routes.test.ts#L28
Argument of type '{ locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; vueI18n?: string | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L71
Argument of type '{ locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; vueI18n?: string | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L103
Argument of type '{ locales: string[]; trailingSlash: true; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L130
Argument of type '{ locales: string[]; routesNameSeparator: string; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L176
Argument of type '{ defaultLocale: string; strategy: "prefix_and_default"; locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L200
Argument of type '{ defaultLocale: string; strategy: "prefix_except_default"; locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L224
Argument of type '{ defaultLocale: string; strategy: "prefix"; locales: string[]; includeUnprefixedFallback: true; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L249
Argument of type '{ defaultLocale: string; strategy: "no_prefix"; locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/pages/localize_routes.test.ts#L273
Argument of type '{ locales: string[]; optionsResolver: () => undefined; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 24 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
|
Test on Node.js 18:
test/routing-utils.test.ts#L51
Expected 6 arguments, but got 5.
|