Skip to content

feat: Add defineRouting for easier i18n routing setup #1863

feat: Add defineRouting for easier i18n routing setup

feat: Add defineRouting for easier i18n routing setup #1863

Triggered via pull request August 28, 2024 13:41
Status Failure
Total duration 51s
Artifacts

main.yml

on: pull_request
Build, lint, and test
42s
Build, lint, and test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.
Build, lint, and test
Type '{ localePrefix: "as-needed"; defaultLocale: "en"; locales: string[]; domains: ({ defaultLocale: "en"; domain: string; locales: ("en" | "fr")[]; } | { defaultLocale: "fr"; domain: string; locales: "fr"[]; })[]; pathnames: { ...; }; } & { ...; }' is not assignable to type 'ResolvedRoutingConfig<string[], never>'.