Skip to content

useOverlay can't infer the result type of lazy load components #4413

@Teages

Description

@Teages

Environment

N/A

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.2.0

Reproduction

TypeScript Playground

Description

useOverlay can't infer the result type of lazy laod components because the current CloseEventArgType does not work with function overload.

I will try to make a PR to fix it.

Additional context

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions