lanjianrong 3 năm trước cách đây
mục cha
commit
dec62e1a85
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  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