keycloak-scim/js/apps/admin-ui/src/utils/useParams.ts

4 lines
152 B
TypeScript

import { useParams as useParamsRR } from "react-router-dom";
export const useParams = <T extends Record<string, string>>() =>
useParamsRR<T>() as T;