Skip to content

Commit

Permalink
chore: fix linting and export types
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Oct 31, 2022
1 parent 2c0c6ed commit 6d4b350
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 1 addition & 4 deletions docs/.vuepress/theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
</p>
<p>
To read docs for Vue Test Utils for Vue 3,
<a
href="https://test-utils.vuejs.org/"
v-text="'click here'"
/>.
<a href="https://test-utils.vuejs.org/" v-text="'click here'" />.
</p>
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions packages/test-utils/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions, Component, RenderContext } from 'vue'
import { DefaultProps, PropsDefinition } from 'vue/types/options'
import { PropsDefinition } from 'vue/types/options'
import { ExtendedVue, CombinedVueInstance } from 'vue/types/vue'

type DefaultProps = Record<string, any>;

/**
* Utility type to declare an extended Vue constructor
*/
Expand Down Expand Up @@ -174,7 +176,7 @@ interface FunctionalComponentShallowMountOptions<V extends Vue> extends ShallowM
context?: Partial<RenderContext>
}

interface VueTestUtilsConfigOptions {
export interface VueTestUtilsConfigOptions {
stubs: Record<string, Component | boolean | string>
mocks: Record<string, any>
methods: Record<string, Function>
Expand Down

0 comments on commit 6d4b350

Please sign in to comment.