UNPKG

@adonis-agora/authkit-react

Version:

Frontend ergonomics over AuthKit for AdonisJS + Inertia + React apps: a typed useAuth() hook, role-gating hooks and gating components.

4 lines (3 loc) • 115 B
export declare function jsonRequest<T>(url: string, init?: RequestInit & { csrfToken?: string; }): Promise<T>;