Skip to content

Commit

Permalink
make opt optional
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 15, 2022
1 parent 212e853 commit cf70868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface RouteNode {
}

export interface CreateRouterOptions {
preemtive: boolean
preemtive?: boolean
}

export function createRouter (opts: CreateRouterOptions = {}): Router {
Expand Down

0 comments on commit cf70868

Please sign in to comment.