lanjianrong před 3 roky
rodič
revize
dec62e1a85
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  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