Skip to content

Vue 3: typed TestComponent on render function #228

Closed
@sand4rt

Description

@sand4rt

Proposal:

Change line 45 index.d.ts from:

export function render(
  TestComponent: any, // this makes me sad :sob:
  options?: RenderOptions,
): RenderResult

To:

export function render(
  TestComponent: new () => ComponentPublicInstance,
  options?: RenderOptions,
): RenderResult

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions