lanjianrong 3 anos atrás
pai
commit
dec62e1a85
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      src/utils/history.ts

+ 2 - 3
src/utils/history.ts

@@ -1,4 +1,3 @@
-import { createBrowserHistory } from 'history'
+import { createBrowserHistory, History } from 'history'
 const createHistory = createBrowserHistory()
-
-export default createHistory
+export default createHistory as History