Skip to content

typescript type definition for RouteRecordRaw is missing query property #1574

@ErikSeyferth

Description

@ErikSeyferth

Version

4.1.5

Steps to reproduce

const route = {} as RouteRecordRaw
route.query = 'test'

What is expected?

query is accepted as a property on RouteRecordRaw objects

What is actually happening?

TS error: Property 'query' does not exist on type 'RouteRecordRaw'.

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