You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/svelte-testing-library/setup.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -140,9 +140,9 @@ runner that's ESM compatible.
140
140
141
141
### TypeScript
142
142
143
-
If you use TypeScript and want to use [`@testing-library/jest-dom`][@testing-library/jest-dom]you need to tell the TypeScript compiler about [`@testing-library/jest-dom`][@testing-library/jest-dom]by adding it in your `tsconfig.json` to the `compilerOptions`.
143
+
Include [`@testing-library/jest-dom`][@testing-library/jest-dom]to the TypeScript `types`to make the TypeScript compiler aware about the [`@testing-library/jest-dom`][@testing-library/jest-dom]matchers.
0 commit comments