mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08: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;
|