+
Skip to content

Issue with Route Guards from @angular/fire #1130

Closed
@dalenguyen

Description

@dalenguyen

Please provide the environment you discovered this bug in.

Production

Which area/package is the issue in?

router

Description

It looks like that we cannot use the guard function from @angular/fire due to type mismatch.

image

Please provide the exception or error you saw

The error is `Type 'typeof AuthGuard' is not assignable to type 'CanActivateFn'.`

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载