Skip to content

Commit

Permalink
fix: vue-router typing on react project builds (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimazu1 committed Feb 7, 2022
1 parent 38df31e commit 4ee2a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-react.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare module '~react-pages' {

declare module 'virtual:generated-pages-react' {
// eslint-disable-next-line import/no-duplicates
import type { RouteRecordRaw } from 'vue-router'
import type { RouteObject } from 'react-router'
const routes: RouteRecordRaw[]
export default routes
}

0 comments on commit 4ee2a88

Please sign in to comment.