Skip to content

Commit 231839f

Browse files
committed
feat(docs): improve guidance for E0358 "false positives"
1 parent b8c59d3 commit 231839f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/errors/E0358.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ declare namespace jQuery {
1818
}
1919
```
2020

21-
Known issues with quick-lint-js:
22-
* [possible false positive with 'declare' inside 'declare
23-
module'](https://github.com/quick-lint/quick-lint-js/issues/1142)
21+
This bug is common in `.d.ts` files because many projects use [`skipLibCheck` in
22+
`tsconfig.json`](https://www.typescriptlang.org/tsconfig#skipLibCheck) which
23+
disables TypeScript's checking of `.d.ts` files. We recommend fixing your
24+
`.d.ts` files as described above. If you disagree, please [discuss this with the
25+
quick-lint-js
26+
maintainers](https://github.com/quick-lint/quick-lint-js/issues/1142).

0 commit comments

Comments
 (0)