Skip to content

Commit

Permalink
docs: Correct difference in GlobalMountOptions type (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
freakzlike committed Dec 29, 2021
1 parent 9b3dcce commit 3992c1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api/index.md
Expand Up @@ -326,15 +326,15 @@ test('renders slots content', () => {

```ts
type GlobalMountOptions = {
components?: Record<string, Component | object>
plugins?: (Plugin | [Plugin, ...any[]])[]
config?: Partial<Omit<AppConfig, 'isNativeTag'>>
directives?: Record<string, Directive>
mixins?: ComponentOptions[]
mocks?: Record<string, any>
plugins?: (Plugin | [Plugin, ...any[]])[]
provide?: Record<any, any>
renderStubDefaultSlot?: boolean
components?: Record<string, Component | object>
directives?: Record<string, Directive>
stubs?: Stubs = Record<string, boolean | Component> | Array<string>
renderStubDefaultSlot?: boolean
}
```

Expand Down Expand Up @@ -1882,7 +1882,7 @@ type GlobalMountOptions = {
provide?: Record<any, any>
components?: Record<string, Component | object>
directives?: Record<string, Directive>
stubs?: Record<any, any>
stubs?: Stubs = Record<string, boolean | Component> | Array<string>
renderStubDefaultSlot?: boolean
}
```
Expand Down

0 comments on commit 3992c1e

Please sign in to comment.