# Build fails with `compatibilityVersion: 4` and TypeScript templates added via `addTemplate`
Nuxt generates invalid types for an array of objects in runtimeConfig - nuxt.config.ts
typesworkaround availablebugupstream
[v4]: defineRouteRules NitroRouteConfig and NuxtConfig types are incorrect and are not augmented with module types
pending triage4.xpossible regression
conflict with @vue-macros/nuxt 'Type warnings'
bugv3triageclosed-by-botstale
Adding `@nuxtjs/i18n` to Nuxt breaks component types (shows unknown)
types3.xworkaround availablebugupstream