Skip to content

Property 'nuxtIcon' is missing in type 'AppConfig' when update to 2.11.0 #1045

@tidusvn05

Description

@tidusvn05

Environment


  • Operating System: Darwin
  • Node Version: v18.17.1
  • Nuxt Version: 3.8.2
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: [email protected]
  • Builder: -
  • User Config: ssr, devtools, modules, ui, colorMode, runtimeConfig, supabase, imports, nitro, typescript
  • Runtime Modules: @pinia/[email protected], @nuxt/[email protected], @nuxtjs/[email protected]
  • Build Modules: -

Version

2.11.0

Reproduction

https://stackblitz.com/edit/nuxt-ui

Description

[email protected][email protected][email protected][email protected]/node_modules/nuxt-icon/dist/runtime/Icon.vue:11:19

ERROR(vue-tsc) Conversion of type 'AppConfig' to type '{ nuxtIcon: { size?: string; class?: string; aliases?: Record<string, string>; iconifyApiOptions?: { url?: string; publicApiFallback?: boolean; }; }; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Property 'nuxtIcon' is missing in type 'AppConfig' but required in type '{ nuxtIcon: { size?: string; class?: string; aliases?: Record<string, string>; iconifyApiOptions?: { url?: string; publicApiFallback?: boolean; }; }; }'.

Screenshot 2023-11-30 at 09 37 35

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions