Skip to content

Interface RouteConfig is not exported anymore #3234

@Shinigami92

Description

@Shinigami92

Version

3.3.3

Reproduction link

Please see Steps to reproduce below

Steps to reproduce

import { RouteConfig } from 'vue-router';
import RouteMetaInformation from './RouteMetaInformation';

/**
 * RouteConfig using RouteMetaInformation.
 */
export default interface RouteMetaConfig extends RouteConfig {
  meta?: RouteMetaInformation;
  children?: RouteMetaConfig[];
}

What is expected?

RouterConfig / RouterConfigBase should be exported so consumer can extends from it

https://github.com/vuejs/vue-router/blob/v3.3.2/types/router.d.ts#L92

What is actually happening?

_RouterConfigBase is not exported anymore

https://github.com/vuejs/vue-router/blob/v3.3.3/types/router.d.ts#L92

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