\n\nWhere I use config then, it shows me typing error.\nWhen I switch to the legacy tsconfig, typing issue are gone.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\nTypecheck summary: \n\n\n\napp/layouts/default.vue:35:33 - error TS2339: Property 'title' does not exist on type '{}'.\n\n35 title: appConfig.information?.title,\n ~~~~~\n\napp/layouts/default.vue:36:39 - error TS2339: Property 'description' does not exist on type '{}'.\n\n36 description: appConfig.information?.description,\n ~~~~~~~~~~~\n\napp/layouts/default.vue:39:36 - error TS2339: Property 'socials' does not exist on type '{}'.\n\n39 github: appConfig.information?.socials?.github,\n ~~~~~~~\n\napp/layouts/default.vue:40:38 - error TS2339: Property 'socials' does not exist on type '{}'.\n\n40 linkedin: appConfig.information?.socials?.linkedin,\n ~~~~~~~\n\napp/layouts/default.vue:41:40 - error TS2339: Property 'birthdate' does not exist on type '{}'.\n\n41 isBirthday: appConfig.information?.birthdate ? isBirthday(appConfig.information?.birthdate) : false,\n ~~~~~~~~~\n\napp/layouts/default.vue:41:86 - error TS2339: Property 'birthdate' does not exist on type '{}'.\n\n41 isBirthday: appConfig.information?.birthdate ? isBirthday(appConfig.information?.birthdate) : false,\n ~~~~~~~~~\n\napp/layouts/default.vue:44:27 - error TS2339: Property 'icons' does not exist on type '{}'.\n\n44 normal: appConfig.ui?.icons?.normal as string[] ?? [],\n ~~~~~\n\napp/layouts/default.vue:45:29 - error TS2339: Property 'icons' does not exist on type '{}'.\n\n45 birthday: appConfig.ui?.icons?.birthday as string[] ?? [],\n ~~~~~\n\napp/middleware/title.global.ts:5:28 - error TS2571: Object is of type 'unknown'.\n\n5 const appConfigTitle = useAppConfig().information.title;\n ~~~~~~~~~~~~~~~~~~~~~~~~~~\n\napp/pages/index.vue:14:62 - error TS2339: Property 'messages' does not exist on type '{}'.\n\n14 const messages = useState('randomIndex', () => appConfig.ui?.messages?.sort(() => Math.random() - 0.5))\n ~~~~~~~~\n\nnuxt.schema.ts:3:16 - error TS2304: Cannot find name 'defineNuxtSchema'.\n\n3 export default defineNuxtSchema({\n ~~~~~~~~~~~~~~~~\n\nnuxt.schema.ts:3:16 - error TS2304: Cannot find name 'defineNuxtSchema'.\n\n3 export default defineNuxtSchema({\n ~~~~~~~~~~~~~~~~\n\nnuxt.schema.ts:3:16 - error TS2304: Cannot find name 'defineNuxtSchema'.\n\n3 export default defineNuxtSchema({\n ~~~~~~~~~~~~~~~~\n```",[3029,3032],{"name":3030,"color":3031},"pending triage","E99695",{"name":3033,"color":3034},"possible regression","B90A42",32768,"useAppConfig lose types from nuxt schema with new tsconfig","2025-07-25T22:51:01Z","https://github.com/nuxt/nuxt/issues/32768",0.6184925,{"description":3041,"labels":3042,"number":3043,"owner":3019,"repository":3020,"state":3044,"title":3045,"updated_at":3046,"url":3047,"score":3048},"The same of, but with newer version: \r\nError something on nuxt 3.1.0 - ERROR(vue-tsc) Property 'nuxtIcon' does not exist on type 'AppConfig'. #46 \r\n\r\n\r\n`node_modules/.pnpm/nuxt-icon@0.2.10/node_modules/nuxt-icon/dist/runtime/Icon.vue:34:40`\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.13.0`\r\n- Nuxt Version: `3.1.2`\r\n- Nitro Version: `2.1.1`\r\n- Package Manager: `yarn@1.22.19`\r\n- Builder: `vite`\r\n- User Config: `typescript`, `ssr`, `runtimeConfig`, `app`, `modules`, `directus`, `meilisearch`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@6.3.1`, `nuxt-directus@3.2.2`, `nuxt-meilisearch@0.1.7`, `nuxt-icon@0.2.10`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\nMy all packages: \r\n```\r\ndependencies:\r\n@nuxtjs/robots 3.0.0 apexcharts 3.37.0 moment 2.29.4 swiper 9.0.3 vue3-apexcharts 1.4.1 \r\n@nuxtjs/tailwindcss 6.3.1 axios 1.3.2 nuxt-directus 3.2.2 type-check 0.4.0 yarn-upgrade-all 0.7.2 \r\n@vueuse/core 9.12.0 daisyui 2.50.0 sanitize-html 2.9.0 vue-instantsearch 4.8.2 \r\n\r\ndevDependencies:\r\n@commitlint/cli 17.4.2 @typescript-eslint/parser 5.51.0 eslint-plugin-prettier 4.2.1 nuxt-icon 0.2.10 \r\n@commitlint/config-conventional 17.4.2 @vue/eslint-config-standard 8.0.1 eslint-plugin-vue 9.9.0 nuxt-meilisearch 0.1.7 \r\n@types/cypress 1.1.3 eslint 8.33.0 husky 8.0.3 prettier 2.8.3 \r\n@types/sanitize-html 2.8.0 eslint-config-prettier 8.6.0 lint-staged 13.1.0 typescript 4.9.5 \r\n@typescript-eslint/eslint-plugin 5.51.0 eslint-plugin-nuxt 4.0.0 nuxt 3.1.2 vue-tsc 1.0.24 \r\n```\r\n",[],50,"closed","error TS2339: Property 'nuxtIcon' does not exist on type 'AppConfig'.","2023-03-15T16:30:19Z","https://github.com/nuxt/icon/issues/50",0.52330667,{"description":3050,"labels":3051,"number":3052,"owner":3019,"repository":3020,"state":3044,"title":3053,"updated_at":3054,"url":3055,"score":3056},"##error message\r\n\r\n ERROR(vue-tsc) Property 'nuxtIcon' does not exist on type 'AppConfig'.\r\nconst props = defineProps({\r\n name: {\r\n type: String as PropType\u003Ckeyof AppConfig['nuxtIcon']['aliases'] | (string & {})>,\r\n ^^^^^^^^^^\r\n required: true\r\n },\r\n\r\n##code\r\n\r\n```ts\r\n\r\nexport default defineNuxtConfig({\r\n srcDir: 'src',\r\n ssr: false,\r\n typescript: {\r\n typeCheck: true\r\n },\r\n modules: ['@nuxtjs/tailwindcss', 'nuxt-icon']\r\n\r\n})\r\n```",[],46,"Error something on nuxt 3.1.0 - ERROR(vue-tsc) Property 'nuxtIcon' does not exist on type 'AppConfig'.","2023-01-27T14:11:31Z","https://github.com/nuxt/icon/issues/46",0.54867774,{"description":3058,"labels":3059,"number":3060,"owner":3019,"repository":3020,"state":3044,"title":3061,"updated_at":3062,"url":3063,"score":3064},"Nuxt-icon: 0.4.2\r\nNuxt: 3.6.5\r\n\r\nnode_modules/nuxt-icon/dist/runtime/Icon.vue:29:33 - error TS7053: Element implicitly has an 'any' type because expression of type 'string & {}' can't be used to index type '{}'.\r\n\r\n29 const iconName = computed(() => (appConfig.nuxtIcon?.aliases || {})[props.name] || props.name)\r\n",[],92,"Typescript error","2023-08-07T12:39:25Z","https://github.com/nuxt/icon/issues/92",0.63810813,{"description":3066,"labels":3067,"number":3080,"owner":3019,"repository":3019,"state":3044,"title":3081,"updated_at":3082,"url":3083,"score":3084},"### 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",[3068,3071,3074,3077],{"name":3069,"color":3070},"types","2875C3",{"name":3072,"color":3073},"3.x","29bc7f",{"name":3075,"color":3076},"bug","d73a4a",{"name":3078,"color":3079},"🔨 p3-minor","FBCA04",20069,"`$config` type error","2023-04-04T13:34:42Z","https://github.com/nuxt/nuxt/issues/20069",0.6430267,{"description":3086,"labels":3087,"number":3092,"owner":3019,"repository":3019,"state":3044,"title":3093,"updated_at":3094,"url":3095,"score":3096},"### Environment\n\n- Operating System: Linux\r\n- Node Version: v16.20.0\r\n- Nuxt Version: 3.6.5\r\n- Nitro Version: 2.5.2\r\n- Package Manager: npm@9.4.2\r\n- Builder: vite\r\n- User Config: typescript, runtimeConfig, modules\r\n- Runtime Modules: nuxt-icon@0.4.2\r\n- Build Modules: -\n\n### Reproduction\n\nOpen up the Stackblitz. \"ctrl + c\" then run `npx nuxi generate`:\r\nhttps://stackblitz.com/edit/github-stl7dc-qrtzu2?file=nuxt.config.ts\n\n### Describe the bug\n\nI installed nuxt-icon and enabled type checking. Now running `npx nuxi generate` results in this error:\r\n\r\n```\r\n\r\nnode_modules/nuxt-icon/dist/runtime/Icon.vue:29:54 - error TS2339: Property 'aliases' does not exist on type '{}'.\r\n\r\n29 const iconName = computed(() => (appConfig.nuxtIcon?.aliases || {})[props.name] || props.name)\r\n```\n\n### Additional context\n\nI tried adding `tsConfig` and excluding `node_modules` but this did not help. \n\n### Logs\n\n```shell-script\n❯ npx nuxi generate\r\nNuxi 3.6.5 5:07:22 PM\r\nNuxt 3.6.5 with Nitro 2.5.2 5:07:22 PM\r\n\r\n[5:07:23 PM] WARN Using experimental payload extraction for full-static output. You can opt-out by setting experimental.payloadExtraction to false.\r\n\r\nℹ Building client... 5:07:24 PM\r\nℹ vite v4.3.9 building for production... 5:07:24 PM\r\nℹ ✓ 112 modules transformed. 5:07:27 PM\r\nℹ .nuxt/dist/client/manifest.json 2.12 kB │ gzip: 0.38 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/entry.31621e1e.css 0.07 kB │ gzip: 0.09 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/IconCSS.6edc7bff.css 0.26 kB │ gzip: 0.17 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/error-500.c5df6088.css 1.95 kB │ gzip: 0.74 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/error-404.7fc72018.css 3.63 kB │ gzip: 1.12 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/IconCSS.cdf3b95e.js 0.86 kB │ gzip: 0.52 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/error-500.129a8e95.js 1.88 kB │ gzip: 0.99 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/error-404.f62b18ac.js 6.53 kB │ gzip: 2.91 kB 5:07:28 PM\r\nℹ .nuxt/dist/client/_nuxt/entry.5eb7b0b7.js 127.30 kB │ gzip: 47.72 kB 5:07:28 PM\r\nℹ ✓ built in 3.76s 5:07:28 PM\r\n✔ Client built in 3789ms 5:07:28 PM\r\nℹ Building server... 5:07:28 PM\r\nℹ vite v4.3.9 building SSR bundle for production... 5:07:28 PM\r\ntransforming (50) node_modules/nuxt/dist/app/components/nuxt-link.jsnode_modules/nuxt-icon/dist/runtime/Icon.vue:12:38 - error TS2339: Property 'aliases' does not exist on type '{}'.\r\n\r\n12 const aliases = appConfig?.nuxtIcon?.aliases || {}\r\n ~~~~~~~\r\n\r\nnode_modules/nuxt-icon/dist/runtime/Icon.vue:29:54 - error TS2339: Property 'aliases' does not exist on type '{}'.\r\n\r\n29 const iconName = computed(() => (appConfig.nuxtIcon?.aliases || {})[props.name] || props.name)\r\n ~~~~~~~\r\n\r\nnode_modules/nuxt-icon/dist/runtime/IconCSS.vue:7:38 - error TS2339: Property 'aliases' does not exist on type '{}'.\r\n\r\n7 const aliases = appConfig?.nuxtIcon?.aliases || {}\r\n ~~~~~~~\r\n\r\nnode_modules/nuxt-icon/dist/runtime/IconCSS.vue:26:49 - error TS2339: Property 'size' does not exist on type '{}'.\r\n\r\n26 if (!props.size && typeof appConfig.nuxtIcon?.size === 'boolean' && !appConfig.nuxtIcon?.size) {\n```\n",[3088,3089,3090,3091],{"name":3069,"color":3070},{"name":3072,"color":3073},{"name":3075,"color":3076},{"name":3078,"color":3079},22421,"TypeCheck checking node_modules when running nuxi generate","2024-11-29T20:33:01Z","https://github.com/nuxt/nuxt/issues/22421",0.6469485,{"description":3098,"labels":3099,"number":3104,"owner":3019,"repository":3019,"state":3044,"title":3105,"updated_at":3106,"url":3107,"score":3108},"### Environment\n\n- Operating System: Windows_NT\r\n- Node Version: v21.2.0\r\n- Nuxt Version: 3.10.0\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: yarn@1.22.21\r\n- Builder: -\r\n- User Config: app, css, devtools, modules, postcss, typescript, ogImage, site, sitemap, routeRules, vite, runtimeConfig, experimental\r\n- Runtime Modules: @nuxt/content@2.11.0, @nuxtseo/module@2.0.0-beta.55\r\n- Build Modules: -\n\n### Reproduction\n\nSwitch from yarn to npm by deleting node_modules and .nuxt folder and reinstall everything with npm i, then start the dev again. I'm using latest vue version with latest nuxt version \n\n### Describe the bug\n\nMy whole project is now plagued with this error, even after switching back to yarn: \r\n\r\n`Property 'xxx' does not exist on type '{}'.ts(2339)`\r\n\r\n\r\n\r\nVolar is correctly setup with the takeover mode. Property and props exist, they are declared correctly. It is very strange.\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3100,3101,3102],{"name":3072,"color":3073},{"name":3030,"color":3031},{"name":3103,"color":3079},"needs reproduction",25607,"Property X does not exist on type '{}'. - TypeScript ","2024-09-21T21:27:40Z","https://github.com/nuxt/nuxt/issues/25607",0.6476862,{"description":3110,"labels":3111,"number":3114,"owner":3019,"repository":3019,"state":3044,"title":3115,"updated_at":3116,"url":3117,"score":3118},"### Environment\n\n```\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.9.0\r\n- Nuxt Version: 3.12.4\r\n- CLI Version: 3.12.0\r\n- Nitro Version: 2.9.7\r\n- Package Manager: pnpm@9.1.0\r\n- Builder: -\r\n- User Config: modules, debug, devtools, future, routeRules, vue, imports, content, shadcn, css, colorMode, app, pwa, features, eslint, compatibilityDate\r\n- Runtime Modules: @vueuse/nuxt@10.9.0, @unocss/nuxt@0.61.5, @pinia/nuxt@0.5.1, @pinia-plugin-persistedstate/nuxt@1.2.0, @nuxtjs/color-mode@3.4.1, @vite-pwa/nuxt@0.7.0, @nuxt/eslint@0.3.12, ./modules/shadcn, @nuxt/content@2.13.2\r\n- Build Modules: -\r\n------------------------------\r\n```\n\n### Reproduction\n\node_modules/.pnpm/@nuxtjs+mdc@0.8.3_magicast@0.3.4_rollup@4.18.0/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue:15:52 - error TS2339: Property 'useNuxtImage' does not exist on type '{ components: { prose: boolean; map: { p: string; a: string; blockquote: string; \"code-inline\": string; code: string; em: string; h1: string; h2: string; h3: string; h4: string; h5: string; h6: string; hr: string; ... 10 more ...; tr: string; }; }; headings: { ...; }; }'.\r\n\r\n15 const imgComponent = useRuntimeConfig().public.mdc.useNuxtImage ? resolveComponent('NuxtImg') : 'img'\n\n### Describe the bug\n\nWhen I perform `pnpm typecheck`` (\"typecheck\": \"vue-tsc --noEmit\")`, the following error occurs:\r\n\r\n```\r\nnode_modules/.pnpm/@nuxtjs+mdc@0.8.3_magicast@0.3.4_rollup@4.18.0/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue:15:52 - error TS2339: Property 'useNuxtImage' does not exist on type '{ components: { prose: boolean; map: { p: string; a: string; blockquote: string; \"code-inline\": string; code: string; em: string; h1: string; h2: string; h3: string; h4: string; h5: string; h6: string; hr: string; ... 10 more ...; tr: string; }; }; headings: { ...; }; }'.\r\n\r\n15 const imgComponent = useRuntimeConfig().public.mdc.useNuxtImage ? resolveComponent('NuxtImg') : 'img'\r\n```\r\n\r\nHowever, I have not used @nuxt/image, and there is no image component in the code. My tsconfig.json is as follows:\r\n```\r\n{\r\n \"extends\": \"./.nuxt/tsconfig.json\",\r\n \"compilerOptions\": {\r\n \"skipLibCheck\": true\r\n },\r\n \"exclude\": [\"node_modules\"]\r\n}\r\n```\r\n\r\nAnd I have tried both TypeScript versions 5.4.5 and 5.5.2, but the error still occurs. How should I fix it?\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3112,3113],{"name":3030,"color":3031},{"name":3103,"color":3079},28359,"Typecheck fail: Property 'useNuxtImage' does not exist on type","2024-08-16T14:09:51Z","https://github.com/nuxt/nuxt/issues/28359",0.6505121,{"description":3120,"labels":3121,"number":3127,"owner":3019,"repository":3128,"state":3044,"title":3129,"updated_at":3130,"url":3131,"score":3132},"There is an issue during the resize on the gradient:\r\n\r\nhttps://user-images.githubusercontent.com/904724/177326570-64a34124-592c-474f-975e-02b854c75c53.mp4\r\n\r\nAlso, could we handle the 3D gem like on Nuxt v3 docs?\r\n\r\n\r\n\r\n",[3122,3124],{"name":3075,"color":3123},"ff281a",{"name":3125,"color":3126},"enhancement","1ad6ff",781,"nuxt.com","[Home] Hero improvements","2023-09-05T08:18:36Z","https://github.com/nuxt/nuxt.com/issues/781",0.66173095,["Reactive",3134],{},["Set"],["ShallowReactive",3137],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$flfv0gdd3AISsnAlqs2ZnrnXTHD8wB-6TnLQJFIOkKfo":-1},"/nuxt/icon/62"]