Skip to content

Latest version now causes Router instance to show an error of: 'router' implicitly has type 'any' #694

@vyrotek

Description

@vyrotek

Describe the bug

The last version introduced some sort of type issue. Router instance now has a TS error:

'router' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.

Your Example Website or App

https://stackblitz.com/edit/github-ythixe?file=src%2Fmain.tsx

Steps to Reproduce the Bug or Issue

Open untouched stackblitz repro and look at VSCode errors. No need to run.

Expected behavior

No error

Screenshots or Videos

No response

Platform

OS: Windows
Browser: Edge
Version: Beta 159

Additional context

No response

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