mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
This prevents global imports of "history" from importing this file on Windows (which is case-insensitive) with classic module resolution (which may resolve global imports in the current directory).
6 lines
208 B
TypeScript
6 lines
208 B
TypeScript
import * as H from 'history';
|
|
import { HistoryRoutes } from './routerHistory';
|
|
|
|
declare function useRoutes<T>(createHistory: H.CreateHistory<T>): H.CreateHistory<T & HistoryRoutes>;
|
|
export default useRoutes;
|