Skip to content

Commit

Permalink
refactor: type of default options
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 30, 2022
1 parent 4b01a3a commit 8aff22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options.ts
Expand Up @@ -86,10 +86,10 @@ export interface Options
routesFolder?: RoutesFolder
}

export const DEFAULT_OPTIONS: Required<Options> = {
export const DEFAULT_OPTIONS: ResolvedOptions = {
extensions: ['.vue'],
exclude: [],
routesFolder: 'src/pages',
routesFolder: [{ src: 'src/pages' }],
routeBlockLang: 'json5',
getRouteName: getFileBasedRouteName,
dataFetching: false,
Expand Down

0 comments on commit 8aff22f

Please sign in to comment.