Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d4b350

Browse filesBrowse files
committed
chore: fix linting and export types
1 parent 2c0c6ed commit 6d4b350
Copy full SHA for 6d4b350

File tree

Expand file treeCollapse file tree

2 files changed

+5
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-6
lines changed

‎docs/.vuepress/theme/Layout.vue

Copy file name to clipboardExpand all lines: docs/.vuepress/theme/Layout.vue
+1-4Lines changed: 1 addition & 4 deletions
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

Copy file name to clipboardExpand all lines: packages/test-utils/types/index.d.ts
+4-2Lines changed: 4 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.