Skip to content

[v4] defineNuxtSchema isn’t resolved by TypeScript #32642

@larbish

Description

@larbish

Environment

  • Operating System: Darwin
  • Node Version: v22.14.0
  • Nuxt Version: 4.0.0
  • CLI Version: 3.26.2
  • Nitro Version: 2.12.0
  • Package Manager: pnpm@10.13.1
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Directly happening in the Nuxt repo, instance on https://github.com/nuxt/nuxt/blob/main/test/fixtures/basic-types/nuxt.schema.ts

Describe the bug

Typescript should resolves the auto imported function.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions