mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 21:58:19 +00:00
docs: use partial RouterOptions
interface (#3711)
This commit is contained in:
parent
57294a5e5a
commit
6d2625925f
@ -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>>{
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user