Skip to content

Commit

Permalink
docs: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 15, 2023
1 parent 24fb689 commit a3a0843
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,18 @@ export interface ResolvedOptions {
* Allows to extend a route by modifying its node, adding children, or even deleting it. This will be invoked once for
* each route.
*
* @experimental See https://github.com/posva/unplugin-vue-router/issues/43
*
* @param route - {@link EditableTreeNode} of the route to extend
* @returns
*/
extendRoute?: (route: EditableTreeNode) => Awaitable<void>

/**
* Allows to do some changes before writing the files. This will be invoked **every time** the files need to be written.
*
* @experimental See https://github.com/posva/unplugin-vue-router/issues/43
*
* @param rootRoute - {@link EditableTreeNode} of the root route
* @returns
*/
beforeWriteFiles?: (rootRoute: EditableTreeNode) => Awaitable<void>

Expand Down

0 comments on commit a3a0843

Please sign in to comment.