8000 [BUG] Incorrect docs for useFronteggAuthGuard · Issue #345 · frontegg/frontegg-vue · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[BUG] Incorrect docs for useFronteggAuthGuard #345
Open
@hognevevle

Description

@hognevevle

"@frontegg/vue": "^2.0.42",

const { fronteggLoaded, authState, loginWithRedirect, useFronteggAuthGuard } = useFrontegg(); gives the following TS error:

TS2339: Property 'useFronteggAuthGuard' does not exist on type '{ fronteggLoaded: boolean; authState: AuthState; fronteggAuth: FronteggAuthService; loginWithRedirect: () => void; loadEntitlements: any; }'.

Also crashes at runtime:

CleanShot 2023-08-11 at 23 25 14

Metadata

Metadata

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

    0