docs: use partial RouterOptions interface (#3711)

This commit is contained in:
Daniel Roe 2022-03-16 15:18:27 +00:00 committed by GitHub
parent 57294a5e5a
commit 6d2625925f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ This is the recommaned way to specify router options.
import type { RouterOptions } from 'vue-router'
// https://router.vuejs.org/api/#routeroptions
export default <RouterOptions>{
export default <Partial<RouterOptions>>{
}
```