\n\u003C/template>\n```\n\n### Description\n\nThe `@update:model-value` event handler for `UFileUpload` component emits `unknown` type instead of the documented type `File | File[] | null | undefined`.\n\n**Expected Behavior (per documentation)**\nAccording to the [official documentation](https://ui.nuxt.com/components/file-upload#emits), the `@update:model-value` event should emit:\n- `[value: File | File[] | null | undefined]`\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3223,3224,3225],{"name":3138,"color":3139},{"name":3141,"color":3142},{"name":3144,"color":3145},4852,"Type mismatch: UFileUpload @update:model-value emits unknown instead of documented type","2025-09-01T10:56:13Z","https://github.com/nuxt/ui/issues/4852",0.63715917,{"description":3232,"labels":3233,"number":3237,"owner":3147,"repository":3147,"state":3160,"title":3238,"updated_at":3239,"url":3240,"score":3241},"### Environment\n\n- Operating System: Windows_NT\n- Node Version: v24.4.1\n- Nuxt Version: 4.0.2\n- CLI Version: 3.27.0\n- Nitro Version: 2.12.4\n- Package Manager: pnpm@10.13.1\n- Builder: -\n- User Config: app, build, compatibilityDate, css, devtools, experimental, imports, modules, pwa, runtimeConfig, security, site, typescript, unocss, vite, vuetify\n- Runtime Modules: @nuxt/eslint@1.7.1, @nuxt/fonts@0.11.4, @nuxt/scripts@0.11.10, @nuxt/test-utils/module@3.19.2, @nuxtjs/seo@3.1.0, @pinia/nuxt@0.11.2, @unocss/nuxt@66.3.3, @vite-pwa/nuxt@1.0.4, @vueuse/nuxt@13.6.0, nuxt-security@2.3.0, vuetify-nuxt-module@0.18.7\n- Build Modules: -\n\n### Reproduction\n\nTried some ways of trying to repro this, but seems to be an obscure issue that surfaces since `v4.0.2`, this is working completely fine when I downgrade back to `v4.0.1` so I suspect it may be some recent change. Don't have much right now except for an example of an error that's caught by the github CI https://github.com/Esposter/Esposter/actions/runs/16583811437/job/46905222754#step:7:975\n\n### Describe the bug\n\nWhen running vitest, since `v4.0.2`, nuxt now throws a `createError` type error issue saying that the input is undefined. However, I've double checked and I seldom use `createError` (like maybe in 2 or 3 places but it's not really used), and trying to use that in a repro doesn't reproduce the error when running vitest, so I suspect it may be something else that's related to the input, maybe trpc related? But seems unlikely considering it was working in nuxt `v4.0.1`\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3234],{"name":3235,"color":3236},"possible regression","B90A42",32801,"[v4.0.2]: `createError` causes TypeError: Cannot read properties of undefined (reading 'message')","2025-07-31T07:16:29Z","https://github.com/nuxt/nuxt/issues/32801",0.6376392,{"description":3243,"labels":3244,"number":3247,"owner":3147,"repository":3147,"state":3160,"title":3248,"updated_at":3249,"url":3250,"score":3251},"### Environment\n\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.20.3\r\n- Nuxt Version: 3.13.0-28726360.b1358220\r\n- CLI Version: 3.13.0-1719571044.bca75ab\r\n- Nitro Version: 2.10.0-28726471.af42c19d\r\n- Package Manager: npm@10.2.3\r\n- Builder: -\r\n- User Config: compatibilityDate, devtools\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\n1. https://stackblitz.com/edit/github-dz3tm4?file=pages%2Findex.vue,nuxt.config.ts,app.vue\r\n2. after installation run `npm run typecheck`\r\n3. observer type error `pages/index.vue:5:17 - error TS18046: '__VLS_ctx.$config' is of type 'unknown'.`\n\n### Describe the bug\n\nThis is caused by the changes in https://github.com/nuxt/nuxt/pull/28446 (or more accurately https://github.com/vuejs/router/pull/2295) and actually demonstrates the issue its trying to solve, the mixing of module augmentation causes issues and will likely do the same for modules downstream.\n\n### Additional context\n\nIf we want to continue the route of https://github.com/nuxt/nuxt/pull/28446 then I have [a PR](https://github.com/nuxt/nuxt/pull/28559) that would fix the issue described here. \r\n\r\nI'm in favor to instead only augmenting `vue` to be in line with Vue's guidelines (which https://github.com/nuxt/nuxt/pull/28542 does) but I'm pretty sure this will also cause issues downstream.\n\n### Logs\n\n_No response_",[3245,3246],{"name":3197,"color":3198},{"name":3138,"color":3139},28561,"Module type augmentation conflict breaks types for `$config` property on `ComponentCustomProperties` on nightly release","2024-08-16T08:45:20Z","https://github.com/nuxt/nuxt/issues/28561",0.6385119,{"description":3253,"labels":3254,"number":3259,"owner":3147,"repository":3147,"state":3160,"title":3260,"updated_at":3261,"url":3262,"score":3263},"### Environment\n\n- Operating System: `Linux`\r\n- Node Version: `v16.14.2`\r\n- Nuxt Version: `3.3.3`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `npm@7.17.0`\r\n- Builder: `vite`\r\n- User Config: `runtimeConfig`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-2l517b\r\n\r\n```\r\n$ npm i\r\n$ npm run typecheck\r\n```\r\n\n\n### Describe the bug\n\n\r\nThe code below gives an error.\r\n\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Ch1>index\u003C/h1>\r\n \u003Cp>{{ $config.public.flag }}\u003C/p>\u003C!-- type error -->\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\n\r\n```vue\r\n\u003Cscript lang=\"ts\">\r\nexport default defineNuxtComponent({\r\n created() {\r\n console.log(this.$config.public.flag); // type error\r\n },\r\n});\r\n\u003C/script>\r\n```\r\n\r\nI paste the log when type checking at the bottom.\r\n\r\nThis is a problem that occurs from v3.3.3.\r\nIt did not occur with v3.2.3. (https://stackblitz.com/edit/github-2l517b-cwvb5p)\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n❯ npm run typecheck\r\n$ nuxt typecheck\r\nNuxi 3.3.3 16:52:14\r\npages/index.vue:4:11 - error TS2339: Property '$config' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial\u003C{}> & Omit\u003CReadonly\u003CExtractPropTypes\u003C{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch\u003CT extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => ...'.\r\n\r\n4 \u003Cp>{{ $config.public.flag }}\u003C/p>\r\n ~~~~~~~\r\n\r\npages/option.vue:4:22 - error TS2339: Property '$config' does not exist on type 'CreateComponentPublicInstance\u003C{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, {}, {}, false, {}, OptionTypesType\u003C{}, {}, {}, {}, {}, {}>, ... 5 more ..., {}>'.\r\n\r\n4 console.log(this.$config.public.flag);\r\n ~~~~~~~\r\n\r\npages/option.vue:12:11 - error TS2339: Property '$config' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial\u003C{}> & Omit\u003CReadonly\u003CExtractPropTypes\u003C{}>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch\u003CT extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => ...'.\r\n\r\n12 \u003Cp>{{ $config.public.flag }}\u003C/p>\r\n ~~~~~~~\r\n\r\n\r\nFound 3 errors in 2 files.\r\n\r\nErrors Files\r\n 1 pages/index.vue:4\r\n 2 pages/option.vue:4\r\n\r\n ERROR Command failed with exit code 2: vue-tsc --noEmit 16:52:17\r\n\r\n at makeError (file://node_modules/nuxi/dist/shared/nuxi.63bda57d.mjs:640:11)\r\n at handlePromise (file://node_modules/nuxi/dist/shared/nuxi.63bda57d.mjs:1129:26)\r\n at async Object.invoke (file://node_modules/nuxi/dist/chunks/typecheck.mjs:69:7)\r\n at async _main (file://node_modules/nuxi/dist/cli.mjs:64:20)\n```\n",[3255,3256,3257,3258],{"name":3197,"color":3198},{"name":3182,"color":3183},{"name":3138,"color":3139},{"name":3213,"color":3214},20069,"`$config` type error","2023-04-04T13:34:42Z","https://github.com/nuxt/nuxt/issues/20069",0.63935685,["Reactive",3265],{},["Set"],["ShallowReactive",3268],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fj7FrVtnxOLcAQOphUwbebEgeqsrznf_Ujw9lJjen-YQ":-1},"/nuxt/ui/4166"]