UNPKG

remix-utils

Version:

This package contains simple utility functions to use with [React Router](https://reactrouter.com/).

3 lines (2 loc) 159 B
import type { unstable_RouterContextProvider } from "react-router"; export type unstable_MiddlewareGetter<T> = (context: unstable_RouterContextProvider) => T;