8000 Accurate typings for Routeconfig: component, components, props · Issue #3217 · vuejs/vue-router · GitHub
[go: up one dir, main page]

Skip to content
Accurate typings for Routeconfig: component, components, props #3217
Closed
@javiertury

Description

@javiertury

What problem does this feature solve?

The typings have the following problems

  • A configuration can have both component and components
  • When multiple named components are used, props should be a Dictionary of the regular props typings. Right now it doesn't complain because Object is among the regular props typings, however it cannot infer the accurate typing of each of the props, it just uses any.

What does the proposed API look like?

There is no API

Metadata

Metadata

Assignees

No one assigned

    Labels

    TypescriptTypescript related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0