Skip to content

Commit a0643c3

Browse files
authored
fix(types): Allow boolean types for redirect options (#1361)
1 parent f9f9e27 commit a0643c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/options.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export interface ModuleOptions {
1010
fullPathRedirect: boolean
1111
scopeKey: string
1212
redirect: {
13-
login: string
14-
logout: string
15-
callback: string
16-
home: string
17-
}
13+
login: string | boolean
14+
logout: string | boolean
15+
callback: string | boolean
16+
home: string | boolean
17+
} | boolean
1818
vuex: {
1919
namespace: string
2020
}

0 commit comments

Comments
 (0)