Skip to content

Commit 6d4b350

Browse files
committed
chore: fix linting and export types
1 parent 2c0c6ed commit 6d4b350

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/.vuepress/theme/Layout.vue

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
</p>
1010
<p>
1111
To read docs for Vue Test Utils for Vue 3,
12-
<a
13-
href="https://test-utils.vuejs.org/"
14-
v-text="'click here'"
15-
/>.
12+
<a href="https://test-utils.vuejs.org/" v-text="'click here'" />.
1613
</p>
1714
</div>
1815
</div>

packages/test-utils/types/index.d.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions, Component, RenderContext } from 'vue'
2-
import { DefaultProps, PropsDefinition } from 'vue/types/options'
2+
import { PropsDefinition } from 'vue/types/options'
33
import { ExtendedVue, CombinedVueInstance } from 'vue/types/vue'
44

5+
type DefaultProps = Record<string, any>;
6+
57
/**
68
* Utility type to declare an extended Vue constructor
79
*/
@@ -174,7 +176,7 @@ interface FunctionalComponentShallowMountOptions<V extends Vue> extends ShallowM
174176
context?: Partial<RenderContext>
175177
}
176178

177-
interface VueTestUtilsConfigOptions {
179+
export interface VueTestUtilsConfigOptions {
178180
stubs: Record<string, Component | boolean | string>
179181
mocks: Record<string, any>
180182
methods: Record<string, Function>

0 commit comments

Comments
 (0)