Skip to content

Commit 297c1c1

Browse files
authored
feat(types): add types (#87)
* Add types explanation * Install types
1 parent 726491b commit 297c1c1

File tree

3 files changed

+44
-20
lines changed

3 files changed

+44
-20
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
- [A simple example](#a-simple-example)
4141
- [More examples](#more-examples)
4242
- [Docs](#docs)
43+
- [Typings](#typings)
4344
- [License](#license)
4445
- [Contributors](#contributors)
4546

@@ -125,6 +126,12 @@ Feel free to contribute with more examples!
125126

126127
[**Read the Docs**][docs] | [Edit the docs][docs-edit]
127128

129+
## Typings
130+
131+
The TypeScript type definitions are in the
132+
[DefinitelyTyped repo](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__vue)
133+
and bundled with Vue Testing Library.
134+
128135
## License
129136

130137
[MIT][license]

package-lock.json

+36-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"dependencies": {
4040
"@babel/runtime": "^7.5.5",
4141
"@testing-library/dom": "^6.0.0",
42+
"@types/testing-library__vue": "*",
4243
"@vue/test-utils": "^1.0.0-beta.29"
4344
},
4445
"devDependencies": {

0 commit comments

Comments
 (0)