Skip to content

Commit aff0fc5

Browse files
authored
docs: fix plugin TS declaration example (#2466)
Fixes #2465
1 parent bbdc0d0 commit aff0fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/extending-vtu/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ To use your custom wrapper plugin with [TypeScript](https://www.typescriptlang.o
171171
import { DOMWrapper } from '@vue/test-utils';
172172

173173
declare module '@vue/test-utils' {
174-
export class VueWrapper {
174+
interface VueWrapper {
175175
findByTestId(testId: string): DOMWrapper[];
176176
}
177177
}

0 commit comments

Comments
 (0)